Waybar
Waybar copied to clipboard
status "plugged" is not detected
I want to see when my laptop plugged. A similar issue is described in #253. My device is a Thinkpad t440s with NixOS unstable on board. I use tlp to set charging thresholds
I also tried using "format-plugged" but nothing changed.
Same issue here. I'm not using TLP but it seems it uses the same interface /sys/class/power_supply/BAT0/charge_control_end_threshold
.
cat /sys/class/power_supply/BAT0/status Not charging
cat /sys/class/power_supply/AC0/online 1
If the battery is at the threshold percentage when I unplug, it shows the plugged format when I plug the battery back in and the status is 'Discharging'. However, a few seconds later when the status switches to 'Not charging', it stops showing the plugged format.
bump
Should be fixed with #1679