Skip to content

Commit 9101ea3

Browse files
committed
Tidy up low power doc.
1 parent 829c4df commit 9101ea3

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

lowpower/README.md

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -161,12 +161,15 @@ while True:
161161
```
162162

163163
This accords with the 500μA maximum specification for `stop`. So current
164-
consumption can be estimated by `i = ib + n/latency` where `ib` is the stopped
165-
current (in my case 380μA) and `n` is a factor dependent on the amount of code
166-
which runs when the latency period expires. A data logging application might
167-
tolerate latencies of many seconds while waiting for a long delay to expire:
168-
getting close to `ib` may be practicable for such applications during their
169-
waiting period.
164+
consumption can be estimated by
165+
`i = ib + n/latency`
166+
`ib` is the stopped current (in my case 380μA).
167+
`n` is a factor dependent on the amount of code which runs when the latency
168+
period expires.
169+
170+
A data logging application might tolerate latencies of many seconds while
171+
waiting for a long delay to expire: getting close to `ib` may be practicable
172+
for such applications during their waiting period.
170173

171174
# 4. The rtc_time module
172175

@@ -300,8 +303,8 @@ with high latency to conserve battery.
300303
# 6. Note on the design
301304

302305
The `rtc_time` module represents a compromise designed to minimise changes to
303-
`uasyncio`. The aim is to have zero effect on the performance of normal
304-
applications or code running on non-Pyboard hardware.
306+
`uasyncio`. The aim is to have zero effect on the performance of applications
307+
not using `rtc_time` or ones running on non-Pyboard hardware.
305308

306309
An alternative approach is to modify the `PollEventLoop` `wait` method to
307310
invoke `stop` conditions when required. It would have the advantage of removing

0 commit comments

Comments
 (0)