Power
Auto-off counter and sleep control.
import "lib/power.nbl";
AutoOff counts down in 10-minute units. Writing 0 enters sleep immediately.
power_auto_off_minutes rounds down and saturates at POWER_MAX.
Constants
Name |
Type |
Value |
|---|---|---|
|
|
|
|
|
|
|
|
|
Functions
Call |
Returns |
Notes |
|---|---|---|
|
|
|
|
|
|
|
|
minutes is rounded down to 10-minute units and saturates at 150 minutes. 0 sleeps immediately. |
|
|
|
|
|