To change levels for normal, low and critical edit the configuration.xml and change battery_level_normal, battery_level_low and battery_level_critical.
To change colors for normal, low, critical and charging edit the colors.xml and change the values.
The widget uses 3 images to display the battery:
- The battery_container.png is used for the static image, that doesn't change with battery level.
- The battery_filler.png is used to display the current battery level. It should be the same size image as the battery_container.png but containing only the filler. The filler is best to be drawn in complete white, the rest should be completely transparent.
- The battery_gloss.png is used to add some depth effect and it is applied on top of the filler, so it should be mostly transparent.
Note: all 3 images must be equal size and when stacked one on top of the other should match. Actually when battery is 100% complete it is the same as stacking the 3 images.