Closed matchai closed 6 years ago
At the moment, the battery section only performs checks with the pmset and upowerutilities. To add battery support for Windows, acpi checks are needed. The implementation in spaceship can be used as reference: https://github.com/denysdovhan/spaceship-prompt/blob/master/sections/battery.zsh#L57-L64
pmset
upower
acpi
Feature Description
At the moment, the battery section only performs checks with the
pmset
andupower
utilities. To add battery support for Windows,acpi
checks are needed. The implementation in spaceship can be used as reference: https://github.com/denysdovhan/spaceship-prompt/blob/master/sections/battery.zsh#L57-L64Expected Behaviour