Merge "Override the 'online' status for AC/USB for battery defender" into rvc-qpr-dev am: 2101fb5a38
Original change: https://googleplex-android-review.googlesource.com/c/device/google/sunfish/+/13206397 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I798fa295b46eefb03c897b4eba035b870a515a1a
This commit is contained in:
@@ -103,14 +103,13 @@ void fill_ufs_storage_attribute(StorageAttribute *attr) {
|
||||
|
||||
void private_healthd_board_init(struct healthd_config *hc) {
|
||||
hc->ignorePowerSupplyNames.push_back(android::String8(kTCPMPSYName));
|
||||
battDefender.update();
|
||||
}
|
||||
|
||||
int private_healthd_board_battery_update(struct android::BatteryProperties *props) {
|
||||
deviceHealth.update(props);
|
||||
battMetricsLogger.logBatteryProperties(props);
|
||||
shutdownMetrics.logShutdownVoltage(props);
|
||||
battDefender.update();
|
||||
battDefender.update(props);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user