Commit graph

10 commits

Author SHA1 Message Date
Daniel Zheng
410cabfc0e update health HAL dependency
Bug: 381926253
Test: th
Change-Id: I6d966c713c7f702069d6c2189023c9db85a51fb8
2024-12-07 06:50:51 +00:00
Jack Wu
f143d6803b Update health AIDL HAL to V3
Bug: 328332299
Test: TH
Test: vts-tradefed run vts -m vts_treble_vintf_vendor_test
Change-Id: I57ff2ec2758f965a9e13e53f223c735a9d102219
Signed-off-by: Jack Wu <wjack@google.com>
2024-03-22 21:00:04 +08:00
Jack Wu
5fcf1334d2 Update health AIDL HAL to V2
Bug: 271222994
Test: TH
Change-Id: Ic29def9fe85d80c8ef96c9152df7312ecc11be05
Signed-off-by: Jack Wu <wjack@google.com>
2023-03-02 11:24:54 +08:00
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
5869192f8c vendor.charger-gs101 -> vendor.charger
The name of the service is changed during
HIDL to AIDL migration. Since there are
triggers depending on init.svc.vendor.charger,
the name needs to be reverted.

Test: none
Bug: 215152892
Change-Id: I57d32e77bddfed94a0a6458e9bce7ff15a128163
2022-01-27 20:16:45 +00: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