summaryrefslogtreecommitdiffstats
path: root/services/batteryservice
Commit message (Collapse)AuthorAgeFilesLines
* Replace IInterface::asBinder() with a staticMarco Nelissen2014-11-171-2/+2
| | | | | | | so we can do NULL checks again, and update calls to IInterface::asBinder() to use the new static version. Change-Id: Ia7b10eb38ca55b72278bfd33d3bf647f338b4e6a
* Frameworks/native: Wall Werror in batteryservice & powermanagerAndreas Gampe2014-11-132-7/+9
| | | | | | | Turn on -Wall -Werror in services/batteryservice and services/powermanager. Fix warnings. Change-Id: I1da667083013379cd8240377c48d63fa5c53033d
* BatteryProperty: Add property ENERGY_COUNTER and 64-bit integer propertiesTodd Poynor2014-05-161-2/+2
| | | | | | Also fixup comments to match recent changes in BatteryManager. Change-Id: I6f40924f9e66d564ad1175f9650e2bfd2ad39a3a
* batteryservice: Native client read exception returned from getPropertyPaul Lawrence2014-03-211-1/+5
| | | | | | | C++ binder client for IBatteryPropertiesRegistrar interface getProperty method fails to read the exception code returned by the server. Add the missing read of the exception code. Bug: 11985952 Change-Id: I8a9b145160aafbcf9976e6c5ba9fcb883126a5e3
* batteryservice: remove BatteryProperties fields not sent to BatteryServiceTodd Poynor2013-10-221-4/+0
| | | | Change-Id: I1116ebf0e21117fd37df7bfc41cb8ebaf9361faa
* libbatteryservice: add interface to read individual battery propertiesTodd Poynor2013-08-223-0/+65
| | | | Change-Id: I089eb6348053a8a9c8bca59e57ed97b4af14825a
* batteryservice: add battery current now and charge counter dataTodd Poynor2013-08-071-0/+4
| | | | Change-Id: I4b3ea25342d4a03a8e38bfee2ef3b1ce54f82582
* add libbatteryserviceTodd Poynor2013-07-254-0/+201
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