Open VorpalBlade opened 5 years ago
Yeah, that's by design (at the moment). We may want to introduce a all=False
parameter or something. When True it should return a list of namedtuples.
@giampaolo I can try and take a look at this
Go for it Alex.
I'm using psutil to create components for my tmux status-line and it seems to be picking up the baterry level for my bluetooth keyboard by default :joy:, any idea if #1466 might be merged soon?
Linux
Bug description
On Linux the first battery is reported. Some laptops (such as Lenovo Thinkpad T480) has two batteries, one built in, and one removable. The information about the removable battery is not reported Example:
But two batteries (and AC) are available in the sys filesystem: