matchai / spacefish

🚀🐟 The fish shell prompt for astronauts
https://spacefish.matchai.dev
MIT License
962 stars 79 forks source link

Add support for the battery section on Windows with acpi #37

Closed matchai closed 6 years ago

matchai commented 6 years ago

Feature Description

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

Expected Behaviour