[US20] Error handling in setBatteryValue