summaryrefslogtreecommitdiffstats
path: root/healthd/healthd_mode_charger.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Healthd: Remove unused variablesAndreas Gampe2014-11-241-6/+0
| | | | | | For build-system CFLAGS clean-up, remove unused variables. Change-Id: Ifc5884518bfdb744ea9823b98db544dbe59c20d2
* healthd: charger: Run animation even if capacity is 0Devin Kim2014-09-231-1/+1
| | | | | | | | | | If charger is connected and battery capacity is 0, charging animation should run. The device would be booted up even if capacity is 0 in off-mode charging. At that time, it would take some time to be 1 from 0 for capacity if you use USB charger. Bug: 17606689 Change-Id: I37e0f1b6ab0ee1f6d833882e169bf3ea06cf2399
* healthd: charger: fix check for charger connected to enter suspendTodd Poynor2014-08-181-1/+1
| | | | | | | | | | Logic for this check was inadvertently reversed when porting this from the charger daemon to healthd. Request suspend if a charegr is connected, else stay out of suspend waiting for a charger connect or power off if none. Bug: 17112463 Change-Id: Iffdb6dbcd0d0a2a614ff8f50bf5f2e22e1ad552f
* healthd: fix 64-bit buildColin Cross2014-07-011-1/+1
| | | | | | int64_t needs to be printed with PRId64 Change-Id: If59b60bac71856e4266d459d159a570961e7340a
* charger: leave screen off when entered with very low batteryTodd Poynor2014-06-301-7/+23
| | | | Change-Id: I28e3d6adaf4bb59d14eca7103d7b063d54a41c75
* resolved conflicts for merge of 079c637f to masterRiley Andrews2014-06-231-2/+12
| | | | Change-Id: Iab9a857026de954d7497d6b0eaf3751d2d3904c7
* healthd: Avoid animation while not charging.Ruchi Kandoi2014-06-231-13/+22
| | | | | | | | | At present, charging animation runs irrespective of whether charger is connected or not. When the charger is disconnected, device does not shutdown for 10sec. Charger animation during this period should be avoided. Change-Id: I34dc5028522ca199d50a1a1b684b035b2d81ef68
* healthd: fix warningsColin Cross2014-05-151-12/+13
| | | | | | Fix a few warnings missed when turning on -Werror Change-Id: I5728664a90d33b95ab3d6ea8823244c59643aedc
* healthd: Turn on -WerrorMark Salyzyn2014-05-151-4/+4
| | | | Change-Id: I72caf38008ee7d842dfacd3f58add9bc8e4787e8
* am 706d57b2: am 769c6452: update minui library callDoug Zongker2014-03-181-2/+2
| | | | | * commit '706d57b2948cc2eec22dc16394cf5582586b4237': update minui library call
* remove pixelflinger from healthdDoug Zongker2014-03-111-22/+20
| | | | | | | | | | | The minui library has changed to no longer use libpixelflinger. It also offers a more efficient way of storing and loading frames of animation; use it to represent the battery-full state images. Also removes the unused battery_charge.png image. Bug: 12131110 Change-Id: I6cc8b19f36a806c99cda30cc47b5968daf6b333b
* resolved conflicts for merge of 1fef485f to masterColin Cross2014-02-131-0/+2
| | | | Change-Id: If402e68292a183064afe35cb77a4437682ee373a
* healthd: charger mode dump previous console from pstoreTodd Poynor2013-12-101-3/+8
| | | | Change-Id: Id65ffe4f80aa870a1d1f3f3d67c3bb687490c27f
* healthd: move charger executable to healthd charger modeTodd Poynor2013-09-171-0/+679
* Add healthd charger mode ops * Check for executable invocation as "charger", set charger mode if so * Incorporate charger executable as healthd charger mode Change-Id: I4a44e7a4c3a65ae9be94491f7f498aa48d4f8a84