Use strncmp() when checking battery name.
Update docs for battery_bar and battery_percent.