Chris911 / iStats

Ruby gem for your mac stats
http://chris911.github.io/iStats/
MIT License
2.41k stars 170 forks source link

Support for Apple M1 #107

Open tuhuynh27 opened 3 years ago

tuhuynh27 commented 3 years ago

I can't use iStats on Apple M1 laptops, can we support M1?

ghost commented 3 years ago

+1
Hoping for the M1 version!

rullinoiz commented 3 years ago

last commit: 3 years ago

i doubt its coming soon

Chris911 commented 1 year ago

I'll review PRs to add support for Apple silicon but probably won't have time to implement myself.

doamatto commented 1 year ago

I'm looking into the keys on MBP 14" (M1 Pro) and have access to a MBP 16" (M1 Max ?) to add support for both in a PR.

To my knowledge, there isn't a probe for the CPU, per se, but several sensors near the cores that can be averaged to get the "CPU temp." Would that still be considered acceptable data ?

alexmyczko commented 5 months ago

same for M2:

--- CPU Stats ---
CPU temp:               0.0°C       ▁▂▃▅▆▇

--- Fan Stats ---
Total fans in system:   2           
Fan 0 speed:            2320 RPM    ▁▂▃▅▆▇
Fan 1 speed:            2510 RPM    ▁▂▃▅▆▇

--- Battery Stats ---
Battery health:         Check Battery
Cycle count:            36          ▁▂▃▅▆▇  3.6%
Max cycles:             1000        
Current charge:         100 mAh     ▁▂▃▅▆▇  100%
Maximum charge:         100 mAh     ▁▂▃▅▆▇  1.6%
Design capacity:        6075 mAh    
Battery temp:           0.0°C       

nvtop also doesn't report any temps, but i end up here:

http://www.cminow.org/ioreg_perl.html