Bug: 244359848
Test: Confirm SOC based throttling removed
Signed-off-by: George Lee <geolee@google.com>
Change-Id: I7e7b9337b12a04718dec1b4e2ed4914cb64046d3
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
Bug: 188110823
Test: Ensure that Dwell-Defend can trigger with 'setprop
vendor.battery.defender.threshold 61'
Change-Id: I4782e2c387b147fc48cf4134d27af8675964dc44
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