I forgot to mention that I'm using acpi to get battery informations. Consequently acpi module is necessary to retrieve this information. (yum, sudo apt-get, etc) install acpi.
Regarding the gauge, the default one is Battery, so you need to have this one in /usr/share/cairo-dock/gauges/Battery. If you want to use the one I've made, copy the "Ruby-Battery" directory which is inside the applets directory to /usr/share/cairo-dock/gauges and change the last line of the .conf file "theme = Battery" to "theme = Ruby-Battery". Just reload the applet.
I forgot to mention that I'm using acpi to get battery informations. Consequently acpi module is necessary to retrieve this information. (yum, sudo apt-get, etc) install acpi.
Regarding the gauge, the default one is Battery, so you need to have this one in /usr/share/ cairo-dock/ gauges/ Battery. If you want to use the one I've made, copy the "Ruby-Battery" directory which is inside the applets directory to /usr/share/ cairo-dock/ gauges and change the last line of the .conf file "theme = Battery" to "theme = Ruby-Battery". Just reload the applet.