summaryrefslogtreecommitdiffstats
path: root/healthd
Commit message (Collapse)AuthorAgeFilesLines
* healthd: perform periodic chores when awake and on battery powerTodd Poynor2013-09-091-0/+3
| | | | | | | | Monitor battery/charging status at normal awake rate when on battery power. Bug: 10650797 Change-Id: I914d24af4963ab9d52b03c0a2615ad653ced9b12
* healthd: Move power_supply attribute paths to healthd_configTodd Poynor2013-08-144-78/+141
| | | | | | | Allow health HAL to select specific paths to be used, overriding default search for arbitrary power supplies with the named paths. Change-Id: I5f724739f58ef56087ab592b7403fc083db8f173
* healthd: switch to HAL static librariesTodd Poynor2013-08-131-6/+7
| | | | Change-Id: I5a802f9b9a8ad4782c4d0c6376a068aef32a70cb
* healthd: fix botched logging callTodd Poynor2013-08-121-1/+1
| | | | Change-Id: Ibf5e28c657e0d9d193b266acd7b2912bebc3e71f
* healthd: preserve uA and uAh units for current_now and charge_counterTodd Poynor2013-08-091-3/+3
| | | | Change-Id: I20b3f47c541c4321b0593e504090ad6573b9cb01
* healthd: create healthd_board_init()Todd Poynor2013-08-083-25/+33
| | | | | | | Subsume healthd_board_poll_intervals, make clear the call is for init-time actions. Change-Id: I9267e4ce7c62b78d2997a43822f20bfa13b54cd8
* healthd: add health HAL supportTodd Poynor2013-08-075-25/+137
| | | | | | | | | | Adds board-specific battery monitoring capabilities: * processing of battery property values and additional charging logic. * adjusted (or removed) polling intervals. * replaced (or removed) battery status heartbeat in kernel log. Change-Id: Ia77bca8dc92c6c2a51afa65d516cacca08da73ac
* healthd: add optional current_now and charge_counter to tracked stateTodd Poynor2013-08-072-6/+38
| | | | | | | | uA and uAh units are converted to mA and mAh. If current_now is present, add it to the heartbeat log (c=nnn). Change-Id: I2b5fe7b4505c98ca2d11c3f94564c1c38493c8b9
* healthd: Add system health monitoring daemonTodd Poynor2013-07-266-0/+835
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