writeChargingSettings

Write settings to the device: the idle power-off time first, then the stay-on flag. Two independent writes — if the second fails, the first stays applied. Fails with IllegalStateException when the device has no charging-settings service.