mathoudebine / turing-smart-screen-python

Unofficial Python system monitor and library for small IPS USB-C displays like Turing Smart Screen or XuanFang
GNU General Public License v3.0
1.05k stars 174 forks source link

Do not use psutil virtual_memory used/free: not reliable. Use total/available instead #462

Closed mathoudebine closed 7 months ago

mathoudebine commented 7 months ago

@orzel can you check this PR and tell me if it fixes the issue #450? Thanks!

orzel commented 7 months ago

@orzel can you check this PR and tell me if it fixes the issue #450? Thanks!

Yes, it does ! I checked FREE and USED (as modified by your patch), and also TOTAL (which is deduced from previous). All three were ok. Thanks !