Wrong battery status
Hello,
My i3 status bar is displaying my battery information incorrectly. When fully charged, I get this:
BAT 100% 5200:00:00
This is my .i3status.conf
:
battery 0 {
format = "%status %percentage %remaining"
integer_battery_capacity = true
}
And this is the output of /sys/class/power_supply/BAT0/uevent
$ cat /sys/class/power_supply/BAT0/uevent
POWER_SUPPLY_NAME=BAT0
POWER_SUPPLY_STATUS=Unknown
POWER_SUPPLY_PRESENT=1
POWER_SUPPLY_TECHNOLOGY=Li-ion
POWER_SUPPLY_CYCLE_COUNT=0
POWER_SUPPLY_VOLTAGE_MIN_DESIGN=11196000
POWER_SUPPLY_VOLTAGE_NOW=12479000
POWER_SUPPLY_CURRENT_NOW=1000
POWER_SUPPLY_CHARGE_FULL_DESIGN=5212000
POWER_SUPPLY_CHARGE_FULL=4176000
POWER_SUPPLY_CHARGE_NOW=5200000
POWER_SUPPLY_MODEL_NAME=DELL TXWRR15
POWER_SUPPLY_MANUFACTURER=SMP
POWER_SUPPLY_SERIAL_NUMBER= 2495
If I use the last_full_capacity = true
option, I get:
BAT 125% 5200:00:00
In my old config (I am using py3status now) there is format="%status %percentage %emptytime". I think this should be the solution for you.
@mschaefer This kind of works. I'm down to a more reasonable time, but my emptytime keeps growing. Every two seconds, it gets two seconds larger. My laptop has been charging all night, so it should be already fully charged. Also, I keep getting 125% when I use `last_full_capacity = true`
It started at 1h40 mins left and now is almost at 8hs!