pub(crate) fn modify_battery(cmd: BatteryCommand) -> Result<(), ()>