Home
last modified time | relevance | path

Searched refs:GetBatteryPercent (Results 1 – 2 of 2) sorted by relevance

/external/chromium_org/ash/system/chromeos/power/
Dpower_status.cc155 double PowerStatus::GetBatteryPercent() const { in GetBatteryPercent() function in ash::internal::PowerStatus
161 static_cast<int>(GetBatteryPercent() + 0.5)); in GetRoundedBatteryPercent()
217 if (GetBatteryPercent() >= 100.0) { in GetBatteryImage()
223 GetBatteryPercent() / 100.0 * (kNumPowerImages - 1)); in GetBatteryImage()
Dpower_status.h99 double GetBatteryPercent() const;