sleep() [ Sleep ]
mode() (SystemSleepConfiguration)
The are are three sleep modes:
- STOP
- ULTRA_LOW_POWER
- HIBERNATE
| STOP | ULTRA_LOW_POWER | HIBERNATE | |
|---|---|---|---|
| Relative power consumption | Low | Lower | Lowest |
| Relative wake options | Most | Some | Fewest |
| Execution continues with variables intact | ✓ | ✓ |
To help decide which mode you should use, see Learn more about sleep modes.