Files
OpenCellular/include
Rong Chang 62df62ccd4 Add basic smart battery driver
This change adds a common part of smart battery driver. Following
features are not implemented, or in chip specific driver:
  Battery access control, authentication, factory mode
  Manufacturer access/data commands
  Block read/write, device name, flash data
  Chip specific features, per cell info/temp/capacity

Signed-off-by: Rong Chang <rongchang@google.com>
BUG=chrome-os-partner:7856
TEST=console command check battery staus
  [unplug power]
  > battery
  [check voltage,current,capacity,time to empty]
  [plug power]
  > charger voltage 8400
  > charger current 4250
  > battery
  [check current,time to full]
  > charger input 4032
  > battery
  [check current,time to full]
  [wait 130 seconds, charger watch dog timeout]
  > battery
  [check current]

Change-Id: Ifac17a0892f52e8f37eebc14b00e71f18360776c
Signed-off-by: Rong Chang <rongchang@chromium.org>
2012-02-10 16:12:56 -08:00
..
2012-02-10 16:12:56 -08:00
2011-12-07 19:10:02 +00:00
2011-12-07 19:10:02 +00:00
2011-12-07 19:10:02 +00:00
2011-12-07 19:10:02 +00:00
2012-01-13 10:34:09 -08:00
2011-12-08 16:18:20 -08:00
2011-12-07 19:10:02 +00:00
2012-02-02 20:51:45 +08:00
2012-01-11 11:37:55 -08:00
2011-12-07 19:10:02 +00:00
2011-12-07 19:10:02 +00:00
2011-12-07 19:10:02 +00:00
2011-12-07 19:10:02 +00:00
2011-12-07 19:10:02 +00:00
2011-12-07 19:10:02 +00:00
2012-02-10 16:12:56 -08:00
2012-01-25 18:23:48 +00:00
2011-12-07 19:10:02 +00:00
2012-01-19 10:54:37 +08:00
2012-01-31 22:29:13 +00:00
2011-12-07 19:10:02 +00:00
2011-12-07 19:10:02 +00:00