module/battery: poll-interval = 0 now disables polling

This commit is contained in:
Daniel Eklöf 2020-06-20 11:02:57 +02:00
parent bdc5dea428
commit 86e6aea152
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
2 changed files with 2 additions and 2 deletions

View file

@ -258,7 +258,7 @@ uses *udev* to monitor for changes.
| poll-interval
: int
: no
: How often, in seconds, to poll for capacity changes (default=*60*)
: How often, in seconds, to poll for capacity changes (default=*60*). Set to `0` to disable polling (*warning*: many batteries do not support asynchronous reporting).
## EXAMPLES