isCritical property
Whether the battery level is critical.
Implementation
bool get isCritical => currentLevel <= criticalLevel && !isCharging;
Whether the battery level is critical.
bool get isCritical => currentLevel <= criticalLevel && !isCharging;