summaryrefslogtreecommitdiffstats
path: root/healthd/BatteryPropertiesRegistrar.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Update calls to IInterface::asBinder()Marco Nelissen2014-11-171-5/+5
| | | | | | to use the new static version. Change-Id: Ia7b10eb38ca55b72278bfd33d3bf647f338b4e6a
* healthd: Turn on -WerrorMark Salyzyn2014-05-151-1/+1
| | | | Change-Id: I72caf38008ee7d842dfacd3f58add9bc8e4787e8
* NULL check in registerListenerNatalie Silvanovich2014-04-301-0/+4
| | | | | | | Prevents crash in batteryproperties. Now with two times as much NULL checking. Bug: 13730158 Change-Id: Ica083da60c6543431c2d82d46aed48eaccc3b4b4
* healthd: remove service batterypropregTodd Poynor2013-10-221-1/+0
| | | | Change-Id: Iac24af6a59453686fca145d0814dc5ff045efcec
* healthd: rename service batterypropreg => batterypropertiesTodd Poynor2013-10-221-0/+1
| | | | | | Part 1 of 2 (to avoid transitory runtime crashes). Change-Id: I40d990ef7ee18cea99e5add39738bbe9fd5701ca
* healthd: BatteryService dumpstate supportTodd Poynor2013-10-221-0/+16
| | | | Change-Id: Ia6938b7126751801310632c995af0f96e41f5f64
* healthd: break link between BatteryMonitor and BatteryPropertiesRegistrarTodd Poynor2013-09-171-6/+4
| | | | | | | | | | Make it easier to later separate out binder-related code. Add helper functions healthd_battery_update(), healthd_get_property() to allow these operations without needing references to the BatteryMonitor object. Change-Id: Ie584bf53e5178ce0a098d0d940d6c311fdff62d4
* healthd: read individual battery property value on demandTodd Poynor2013-08-221-0/+4
| | | | | | | Adding support for batteryChargeCounter and batteryCurrentNow as parameters likely to be useful for power consumption analysis. Change-Id: Ib23b05d3c31c22ece0d21e55cc481c1b5dabe59e
* healthd: Add system health monitoring daemonTodd Poynor2013-07-261-0/+81
Initially moving battery health monitoring here. Command line flag -n tells healthd not to use (or wait for) servicemanager in this execution, for charger and recovery modes. Change-Id: I1720594724af0c068497b359f9c6ad65aeaa1519