Searched refs:currentSnapshot (Results 1 – 1 of 1) sorted by relevance
406 if (shouldShowHybridWarning(currentSnapshot)) { in maybeShowHybridWarning()412 || currentSnapshot.getBatteryLevel() in maybeShowHybridWarning()478 BatteryStateSnapshot currentSnapshot, in maybeShowBatteryWarning() argument494 BatteryStateSnapshot currentSnapshot, in shouldShowLowBatteryWarning() argument496 return !currentSnapshot.getPlugged() in shouldShowLowBatteryWarning()497 && !currentSnapshot.isPowerSaver() in shouldShowLowBatteryWarning()500 && currentSnapshot.getBucket() < 0)) in shouldShowLowBatteryWarning()506 BatteryStateSnapshot currentSnapshot, in shouldDismissLowBatteryWarning() argument508 return currentSnapshot.isPowerSaver() in shouldDismissLowBatteryWarning()509 || currentSnapshot.getPlugged() in shouldDismissLowBatteryWarning()[all …]