commit | fe73e79bf73107e29bb995af81face2647a7ff93 | [log] [tgz] |
---|---|---|
author | Xiaozhe Shi <xiaozhes@codeaurora.org> | Wed Sep 05 11:19:37 2012 -0700 |
committer | Xiaozhe Shi <xiaozhes@codeaurora.org> | Thu Sep 06 09:31:27 2012 -0700 |
tree | 6763e5353885b4e4306407dcfb5ee45d13ddd387 | |
parent | de5ca537a0573e38fb4a6b78799a2fcf858bcb2c [diff] |
power_supply: add BMS for a new power supply type Add POWER_SUPPLY_TYPE_BMS for the hardware chip or module which monitors battery for state of charge and other properties. BMS will register itself as a separate power supply of type BMS. The charger will register the battery power supply and pull BMS data from the BMS power supply if it exists. Change-Id: I071f0d958a4b2b6af5f51460d201f6970aed595f Signed-off-by: Xiaozhe Shi <xiaozhes@codeaurora.org>