i3status No Battery Problem Fix
I am still fixing the final little issues after my switch from Fedora to Mint and this morning came across a problem with i3status and its battery reporting. The default setup stated there was no battery, clearly an issues as I was running on battery power at the time with my laptop.
The fix turned out to be quite easy (on Linux Mint 16 XFCE),
Firstly you need an i3status.conf file that you can edit,
cp /etc/i3status.conf ~/.i3status.conf
then edit .i3status.conf
nano .i3status.conf
then change the references to battery 0 to battery 1
so
order += "battery 0"
becomes
order += "battery 1"
and
battery 0 {<br />
format = "%status %percentage %remaining"<br />
}
becomes
battery 1 {<br />
format = "%status %percentage %remaining"<br />
}
finally I don’t like the estimated time feature so this gets rid of it
battery 1 {<br />
format = "%status %percentage" # %remaining"<br />
}