spwr_battery_set_alarm_unlocked
status = spwr_battery_set_alarm_unlocked(bat, cap_warn);
status = spwr_battery_set_alarm_unlocked(bat, value / 1000);