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
Another possible solution would be to test the presence of a battery in fmt-bat-charge (maybe probing the file "/proc/acpi/battery/BAT0", the one the module uses), and then return an empty string (as to avoid the 'no battery' message on desktops modeline).
The text was updated successfully, but these errors were encountered:
Ok, i know. But i share the same config between my desktop pc and notebook.
current-battery-charge
was signalling an error.For it to behave properly i had to make some minor changes. A trivial fix would be:
Another possible solution would be to test the presence of a battery in
fmt-bat-charge
(maybe probing the file "/proc/acpi/battery/BAT0", the one the module uses), and then return an empty string (as to avoid the 'no battery' message on desktops modeline).The text was updated successfully, but these errors were encountered: