And here’s what the ls -1 /sys/class/power_supply/ command retrieves:
$ ls -1 /sys/class/power_supply/
This is the specific error I’m getting from Polybar:
error: Disabling module "battery" (reason: No suitable way to get current charge state)
And yes, I promise it’s in the module list!
modules-left = xworkspaces xwindow
modules-right = battery filesystem pulseaudio xkeyboard memory cpu wlan eth date
In a Reddit post I stumbled across someone asked the OP if their battery folder had a file called energy_now, which mine does have. But OP had a different problem that was fixed through different means, so I’m at a loss again.
I’m new to Linux so apologies if this is a pretty straight-forward answer, I just don’t have much of a background. Here’s to learning though!
Thanks for replying, I appreciate it! My laptop is a refurbed Panasonic Let’s Note NX4. According to backmarket these are from 2012? The laptop uses an intel i5-5300U processor (not sure if that’s relevant here but just in case…)
I tried this out, sadly it didn’t work, but thanks for the suggestion. I’ll probably try my hand at the troubleshooting thing later and submit a bug report.
EDIT (this specific part isn’t applicable to your response but I didn’t want to double post): This specific model looks like it has the ability to swap out the external battery kind of like the earlier ThinkPads could, could that have something to do with it??