You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Don't return None from battery pool methods (#545)
In the case when no battery is available, the internal values of the
`Sample` or `PowerMetric` will be set to `None`, instead.
Signed-off-by: Stefan Brus <[email protected]>
Copy file name to clipboardExpand all lines: RELEASE_NOTES.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,8 @@
8
8
9
9
<!-- Here goes notes on how to upgrade from previous versions, including deprecations and what they should be replaced with -->
10
10
11
+
- The battery pool metric methods no longer return `None` when no batteries are available. Instead, the value of the `Sample` or `PowerMetric` is set to `None`.
12
+
11
13
## New Features
12
14
13
15
<!-- Here goes the main new features and examples or instructions on how to use them -->
0 commit comments