Commit graph

6 commits

Author SHA1 Message Date
George Lee
c5c3e1d720 health: Remove SOC based throttling
Bug: 244359848
Test: Confirm SOC based throttling removed
Signed-off-by: George Lee <geolee@google.com>
Change-Id: I7e7b9337b12a04718dec1b4e2ed4914cb64046d3
2022-08-31 11:45:18 -07:00
Yifan Hong
a636457b5a Implement health AIDL HAL.
Test: VTS
Test: manual charger mode
Test: recovery
Bug: 213273090

Change-Id: Ie02d7bc1e1c6e39bbab22f008b7767c5de620a73
2022-01-06 23:01:30 +00:00
George Lee
dada82957c health: fix soc path so enable proper throttling
Path was missing "/" thus thermal zone soc stays enabled regardless of
charging.

Bug: 188006020
Test: Local test to check soc's mode
Signed-off-by: George Lee <geolee@google.com>
Change-Id: I62ba233ddc05f2c8c0d3bcf4f97809f9c379a757
2021-05-28 19:38:51 +00:00
Stephane Lee
80c8b07636 Enable Battery Defender on gs101
Bug: 188110823
Test: Ensure that Dwell-Defend can trigger with 'setprop
vendor.battery.defender.threshold 61'

Change-Id: I4782e2c387b147fc48cf4134d27af8675964dc44
2021-05-18 18:48:49 +00:00
Stephane Lee
331796ed8d BatteryDefender: Explicitly set wireless path to reduce errors logs
For gs101 devices, we must detect whether a wireless charger exists at
runtime, otherwise we'd need to create separate Health.cpp for each
product in order to instantiate the wireless path correctly.

Test: Ensure battery defender triggers via wireless connection.
   Ensure there are no warnings for devices that do not have a wireless
   charger
Bug: 165954398
Change-Id: Ibba202293141c017d3048980b643a80b5fb57ca4
2021-05-05 19:39:49 +00:00
Robin Peng
c2b5ca99e3 Move slider into gs101 and <device>
from: 026342771c6642980cb4653b1ec4d857a5d8be54

Bug: 167996145
Change-Id: I2ebf7f019afed1cbe9b60dcd82581bd3a52fe109
2021-03-06 16:31:12 +08:00