summaryrefslogtreecommitdiffstats
path: root/services/batteryservice
Commit message (Collapse)AuthorAgeFilesLines
* Merge tag 'android-6.0.0_r26' into HEADRicardo Cerqueira2015-11-051-0/+2
|\ | | | | | | | | | | | | | | | | Android 6.0.0 release 26 Conflicts: include/android/input.h Change-Id: Ifa374c6d3055be3b8a5d60967f8b4c0043da739b
| * Show charging speed on KeyguardAdrian Roos2015-07-101-0/+2
| | | | | | | | | | Bug: 8099739 Change-Id: I2e5c21dd7ec028ce47fb03ab71e74f7fccaa9e36
* | native: dock batteryJorge Ruesga2015-10-172-0/+62
|/ | | | | | Change-Id: I23eadf0361cbe25029b95dbd022ce1a2cc96e94d Require: topic:dock_battery Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* Replace IInterface::asBinder() with a staticMarco Nelissen2014-11-141-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