htc_battery_core.c: Fix HTC's coding error