Skip to content

Commit

Permalink
Merge pull request #12 from WHILL/feature/add_set_battery_saving
Browse files Browse the repository at this point in the history
Update fix typo
  • Loading branch information
GeorgeMandokoro authored Dec 4, 2024
2 parents 14e4cd0 + ea4cc9e commit d891367
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,12 @@ Turn on/off a WHILL. `power_state_command` is a bool with `True` to power WHILL
Enable/Disable power supply to the interface connector. `True` to enable power supply. **For Model CR only.**

```python
<your_obj_name>.set_battery_saving(low_battery_level=<Integer -100~100>, sounds_buzzer=<True/False>)
<your_obj_name>.set_battery_saving(low_battery_level=<Integer 1~90>, sounds_buzzer=<True/False>)
```
Configure battery protection settings. **For Model CR2 only.**
Configure battery protection settings.
`low_battery_level` is battery charge level to engage the standby mode with range 1 ~ 90.
`sounds_buzzer` is Enable/Disable a buzzing sound at the battery charge level of `low_battery_level` + 10 percentage points. `True` to enable a buzzing sound when battery level low.
As default, `low_battery_level` is 19 and `sounds_buzzer` is True.
As default, `low_battery_level` is 19 and `sounds_buzzer` is True. **For Model CR2 only.**

### Motor Control
```python
Expand Down

0 comments on commit d891367

Please sign in to comment.