Display battery information of your Apple laptop in Alfred
Alfred Battery shows:
- the current charging state
- the remaining time until full or empty
- the temperature
- the charging cycles
- the health
- as well as the serial number
Alfred Battery uses a built-in Swift program to retrieve the battery information from the system.
- Alfred (version 4.0+)
- The Alfred Powerpack.
- Python 3.7+ (Command Line Tools:
xcode-select --install
or Homebrew:brew install python
) - The Swift Compiler
swiftc
(Command Line Tools:xcode-select --install
)
During the first execution and after an update of the workflow, the workflow compiles the BatteryInfo
program.
The workflow code, the bundled Alfred-PyWorkflow library as well as the graphics are all under the MIT Licence.
The original idea is from BenziAhamed and his Battery workflow