energy-tracker icon indicating copy to clipboard operation
energy-tracker copied to clipboard

Mac Mini output is empty

Open anvme opened this issue 2 years ago • 1 comments

Hi!

Any solutions for Mac mini? ioreg -rw0 -c AppleSmartBattery | grep BatteryData | grep -o '"AdapterPower"=[0-9]*' | cut -c 16- | xargs -I % lldb --batch -o " print/f %" | grep -o '$0 = [0-9.]*' | cut -c 6-

output is empty

anvme avatar Feb 12 '23 18:02 anvme

Can you confirm that this works?

ioreg -rw0 -c AppleSmartBattery | grep BatteryData | grep -o '"AdapterPower"=[0-9]*' | cut -c 16- | xargs -I % lldb --batch -o " print/f %" | tail -n 1 | awk '{print $2}’

raoulg avatar Apr 13 '24 15:04 raoulg