| Commit message (Collapse) | Author | Age | Files | Lines |
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add following overrides in mode_charger to improve the off-mode charging
user experience:
1. Draw battery information on the animation, such as: capacity;
2. Handle board specific battery status update;
3. Handle board specific mode charger initialization;
4. Turn on/off the backlight explicitely;
5. Reduce the unplugged shutdown delay to 1 seccond;
6. Do a period chorse and then heartbeat to reduce the animation boot
time.
Change-Id: Ic2b7ab6deeb52c4effe3b4af9b590950d5ee97f1
|
|/
|
|
|
|
| |
Change-Id: I2ad09e5e87d55c47af4d1efc14cc585cc08e2dce
Require: topic:dock_battery
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Existing code allows charger-mode to exit to Android even with 0%
battery.
This might lead to more battery discharge while booting to Android,
especially if only USB-charger is connected, and thus certain
features/components not functioning as expected in Android.
This patch adds a configurable parameter to improve the user experience
by preventing the charger exit till battery capacity is good enough to
boot Android
Change-Id: I56a283243551373e962ac562f25eaf11f07666c3
Signed-off-by: Pavan Kumar S <pavan.kumar.s@intel.com>
Signed-off-by: Jenny TC <jenny.tc@intel.com>
Signed-off-by: Yong Yao <yong.yao@intel.com>
|
|
|
|
|
|
|
|
| |
Adds a callback to the healthdHAL which can check for device specific
properties to decide if the screen should turn on.
Change-Id: I543e7729ecb291157df4d3be1bd718f8af01ac40
Signed-off-by: Ruchi Kandoi<kandoiruchi@google.com>
|
|
|
|
|
| |
Bug: 10118565
Change-Id: Ibabae2a78a600ae37ce9b91da0f5980ee94b05c2
|
|
|
|
| |
Change-Id: Ia6938b7126751801310632c995af0f96e41f5f64
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
| |
* add ops for different "modes" of healthd operation: android vs. recovery
* recovery mode selected by runstring options -r
* binder/Android communication moved to android mode
* recovery mode ops avoiding binder service registration
* "no service manager" flag removed; now handled by android vs. other modes
Change-Id: I3d8c89bf96a18a6a00cc85306f9a07d3f408f2a0
|
|
|
|
|
|
|
|
| |
Facilitates registering events from external source files.
Add epoll events param to callbacks.
Change-Id: Icf8fb0c62af11453cbcc92877ff2c3bc03b9bb1b
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Change-Id: Ibc901fe1b550c0d72095ef5590e2db8962d1a7b2
|
|
|
|
|
|
|
| |
Allow health HAL to select specific paths to be used, overriding
default search for arbitrary power supplies with the named paths.
Change-Id: I5f724739f58ef56087ab592b7403fc083db8f173
|
|
|
|
|
|
|
| |
Subsume healthd_board_poll_intervals, make clear the call is for init-time
actions.
Change-Id: I9267e4ce7c62b78d2997a43822f20bfa13b54cd8
|
|
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
|