Closed gugod closed 3 years ago
This also fix a warning about $1 being undef.
$1
When fully changed, the output of pmset -g batt is:
pmset -g batt
Now drawing from 'AC Power' -InternalBattery-0 (id=4391011) 100%; charged; 0:00 remaining present: true
osx version: 10.13.6
It looks like issue #25 can be resolved with this PR.
This also fix a warning about
$1
being undef.When fully changed, the output of
pmset -g batt
is:osx version: 10.13.6