Skip to main content
Settings are persistent limits, like the lowest charge level the battery will discharge to. Change them with POST /battery/{id}/settings. Unlike commands, settings writes are applied in the request and return 200.

1. Check the battery supports it

settings lists each setting the battery supports, with its current value, unit, and bounds. A setting the battery doesn’t report in a usable form is left out.

2. Send the update

Send only the settings you want to change. Each value needs the unit shown in step 1.
See Error codes.

3. Confirm

updated lists the settings that changed. A battery can round a value to the nearest step its hardware supports, so read the battery again to see what it holds.

Next steps

Settings

Settings vs commands, and every setting code.

Battery cookbook

All battery recipes.