corecoding / Vitals

A glimpse into your computer's temperature, voltage, fan speed, memory usage and CPU load.
https://extensions.gnome.org/extension/1460/vitals/
GNU General Public License v2.0
1.46k stars 92 forks source link

Adding support for battery with key 'BATT' #416

Closed Deleranax closed 7 months ago

Deleranax commented 7 months ago

Hi!

Quick fix to add battery support for Asus zenbook UM3402YA. It should answer #405.

I saw that the batteries were mentioned in a translation file (locale/vitals.po), but I'm not familiar with this type of file, so I didn't make any changes.

corecoding commented 7 months ago

Thanks! The problem with re-indexing CMB0 and macsmc-battery means that existing users of those battery types will have to go to settings and re-select their battery slot. I did look for a way to alphabetize the prefs.ui list but couldn't find one. Plus it may change the index...