commit | 87bf0d97be5ef2689546b246dfb6c21c4eec3ce0 | [log] [tgz] |
---|---|---|
author | Todd Poynor <toddpoynor@google.com> | Thu May 16 14:51:15 2013 -0700 |
committer | Todd Poynor <toddpoynor@google.com> | Thu Jul 25 01:57:32 2013 +0000 |
tree | 07ead5657d11419fc9547cbe094f2731364664e0 | |
parent | a7b0f04aaf7f04a9617dbbc839b1aaa6f20ca6d6 [diff] |
add libbatteryservice IBatteryPropertiesListener is used by clients such as BatteryService to receive notifications of changed battery/power status (from healthd). IBatteryPropertiesRegistrar manages registrations of IBatteryPropertiesListener clients. Add BatteryService native header with defines from BatteryManager, and class BatteryProperties to pass battery/power status around. Change-Id: I44e2736e503b586794097b7b9d31d07fefd9b15a