diff --git a/Scripts/check-battery.ps1 b/Scripts/check-battery.ps1 index 66418ed6..ae5d77b4 100755 --- a/Scripts/check-battery.ps1 +++ b/Scripts/check-battery.ps1 @@ -29,7 +29,9 @@ try { $Reply = "✅ Battery charging... ($Percent%)" } } else { # must be offline - if ($Remaining -le 5) { + if ($Remaining -eq 0) { + $Reply = "✅ Battery at $Percent%, calculating remaining time..." + } elseif ($Remaining -le 5) { $Reply = "⚠️ Battery at $Percent%, ONLY $Remaining MIN remaining" } elseif ($Remaining -le 30) { $Reply = "⚠️ Battery at $Percent%, only $Remaining min remaining"