Searched refs:fHasBattery (Results 1 - 2 of 2) sorted by relevance

/haiku/src/apps/powerstatus/
H A DPowerStatusView.h70 bool fHasBattery; member in class:PowerStatusView
H A DPowerStatusView.cpp214 else if (percent < 0.0 || !fHasBattery)
219 if (fHasBattery) {
407 bool hadBattery = fHasBattery;
409 fHasBattery = fBatteryInfo.full_capacity > 0;
411 if (fBatteryInfo.full_capacity > 0 && fHasBattery) {
421 if (fHasBattery && (fPercent <= 0 || fPercent > 1.0)) {
426 fHasBattery = hadBattery;
448 if (fHasBattery) {
515 if (!fOnline && notify && fHasBattery
604 B_VECTOR_ICON_TYPE, fHasBattery
[all...]

Completed in 52 milliseconds