File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 16
16
17
17
**Hardware:**
18
18
19
- * `Adafruit MAX17048 Battery Fuel Gauge <https://www.adafruit.com/product/5580>`
19
+ * `Adafruit MAX17048 Battery Fuel Gauge <https://www.adafruit.com/product/5580>`_
20
20
21
21
**Software and Dependencies:**
22
22
@@ -207,14 +207,16 @@ def hibernation_threshold(self, threshold_percent):
207
207
208
208
def hibernate (self ):
209
209
"""Setup thresholds for hibernation to go into hibernation mode immediately.
210
+
210
211
See datasheet: HIBRT Register (0x0A) To disable hibernate mode, set HIBRT = 0x0000. To
211
- always use hibernate mode, set HIBRT = 0xFFFF. Can check status with `self. hibernating`"""
212
+ always use hibernate mode, set HIBRT = 0xFFFF. Can check status with :py:attr:` hibernating`"""
212
213
self ._hibrt_hibthr = 0xFF
213
214
self ._hibrt_actthr = 0xFF
214
215
215
216
def wake (self ):
216
217
"""Setup thresholds for hibernation to leave hibernation mode immediately.
218
+
217
219
See datasheet: HIBRT Register (0x0A) To disable hibernate mode, set HIBRT = 0x0000. To
218
- always use hibernate mode, set HIBRT = 0xFFFF. Can check status with `self. hibernating`"""
220
+ always use hibernate mode, set HIBRT = 0xFFFF. Can check status with :py:attr:` hibernating`"""
219
221
self ._hibrt_hibthr = 0
220
222
self ._hibrt_actthr = 0
You can’t perform that action at this time.
0 commit comments