You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Good idea. For battery, it is possible through /sys/class/power_supply/BAT0. It will be hard to test because servers don't have ones.
For disk usage, the ideal would be to have statfs (crystal-lang/crystal#6053), but it is possible to use /sys and /proc.
I think it will be good if the library has an API for battery (Battery percentage) and disk (R/W speed, capacity, etc). What do you think?
The text was updated successfully, but these errors were encountered: