small fixes in 'ancora_battery.c' file