mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-01-24 14:48:38 +01:00
Updated check-power.ps1
This commit is contained in:
parent
abb97e1c9f
commit
dc93b28ee9
@ -24,7 +24,7 @@ try {
|
||||
if ($details.BatteryChargeStatus -eq "NoSystemBattery") {
|
||||
$reply = "✅ AC powered"
|
||||
} elseif ($percent -ge 95) {
|
||||
$reply = "✅ Battery fully charged ($percent%)"
|
||||
$reply = "✅ Battery $percent% full"
|
||||
} else {
|
||||
$reply = "✅ Battery charging ($percent%)"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user