mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-08-09 13:04:59 +02:00
Updated check-power.ps1
This commit is contained in:
@ -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%)"
|
||||
}
|
||||
|
Reference in New Issue
Block a user