Searched refs:charger_status (Results 1 – 2 of 2) sorted by relevance
76 std::string charger_status; in updateBatteryProperties() local80 if (!android::base::ReadFileToString(kChargerStatus, &charger_status)) { in updateBatteryProperties()85 charger_status = android::base::Trim(charger_status); in updateBatteryProperties()86 props->batteryStatus = getBatteryStatus(charger_status.c_str()); in updateBatteryProperties()91 LOG(INFO) << "Entry state_: " << state_ << " charger_status: " << charger_status in updateBatteryProperties()101 } else if (charger_status == kStatusIsFull) { in updateBatteryProperties()104 } else if (charger_status != kStatusIsCharging) { in updateBatteryProperties()112 if (charger_status == kStatusIsFull) { in updateBatteryProperties()116 } else if (charger_status == kStatusIsCharging) { in updateBatteryProperties()155 if (charger_status == kStatusIsCharging) { in updateBatteryProperties()
77 std::string charger_status; in updateBatteryProperties() local81 if (!android::base::ReadFileToString(kChargerStatus, &charger_status)) { in updateBatteryProperties()86 charger_status = android::base::Trim(charger_status); in updateBatteryProperties()87 props->batteryStatus = getBatteryStatus(charger_status.c_str()); in updateBatteryProperties()92 LOG(INFO) << "Entry state_: " << state_ << " charger_status: " << charger_status in updateBatteryProperties()99 if (charger_status == kStatusIsFull) { in updateBatteryProperties()102 } else if (charger_status != kStatusIsCharging) { in updateBatteryProperties()110 if (charger_status == kStatusIsFull) { in updateBatteryProperties()114 } else if (charger_status == kStatusIsCharging) { in updateBatteryProperties()153 if (charger_status == kStatusIsCharging) { in updateBatteryProperties()