Adding comment removed from failed merge (6acb240c
)
Change-Id: Iace4c8512c6a4a26d36b98a5a3144e6836db1904
This commit is contained in:
parent
1df084d39f
commit
585ab65c58
|
@ -600,6 +600,9 @@ void BatteryMonitor::init(struct healthd_config *hc) {
|
|||
closedir(dir);
|
||||
}
|
||||
|
||||
// This indicates that there is no charger driver registered.
|
||||
// Typically the case for devices which do not have a battery and
|
||||
// and are always plugged into AC mains.
|
||||
if (!mChargerNames.size()) {
|
||||
KLOG_ERROR(LOG_TAG, "No charger supplies found\n");
|
||||
mBatteryFixedCapacity = ALWAYS_PLUGGED_CAPACITY;
|
||||
|
|
Loading…
Reference in New Issue