commit | 890fbf4cc217a06a768cd104b3f9880eb62a41a5 | [log] [tgz] |
---|---|---|
author | Xiaozhe Shi <xiaozhes@codeaurora.org> | Thu May 02 16:42:53 2013 -0700 |
committer | Xiaozhe Shi <xiaozhes@codeaurora.org> | Mon May 13 10:13:58 2013 -0700 |
tree | 009d7cbdbf40c0f7e53f7f94ec87495332c67fb2 | |
parent | 4dbc01b360d43c52483f1d167d2ec2838067470a [diff] |
power: qpnp-bms: Notify BMS of charging status BMS relies on charger for notifications about battery presence and charging status. Instead of using private APIs or setting power supply properties, simply register BMS as a supplicant of battery so that when charger calls power supply changed on battery, BMS gets notified about charging status. Change-Id: Ifa4ac94ea825f2b0a1149ded4880f1088af5832b Signed-off-by: Xiaozhe Shi <xiaozhes@codeaurora.org>