vcgencmd get_throttled gives current and past hardware status 0x00000 tells everything ok
Table 9.1. hardware status
| Value | Meaning |
|---|---|
| 0x1 | Actual under voltage |
| 0x2 | Reduced ARM frequency |
| 0x4 | Actual throttling |
| 0x8 | Actual Soft temp limit |
| 0x10000 | Under voltage occurred in the past |
| 0x20000 | Frequency cut occurred in the past |
| 0x40000 | Throttling occurred in the past |
| 0x80000 | Soft temp limit occurred in the past |
The past values will be reset on a reboot