3 ms·
I have this .zshrc function to track the battery and charging, which uses pmset: function batt-info() { echo system_profiler SPPowerDataTyp
by jftuga 2y ago
I have this .zshrc function to track the battery and charging, which uses pmset:
function batt-info() {
echo
system_profiler SPPowerDataType | grep Wattage | cut -c 7-
echo
pmset -g batt
}