LED and Button states
The AutoPi TMU CM4 comes with an advanced smart power management (SPM) system, which will handle the lifecycle of the device. The status of SPM can be seen from the LEDs on the side of the device and can changed from software or from the Button also located on the side:
The following state diagram explains this lifecycle. The LED is the Blue LED on the side of the device.
With the button it is possible to control the state of the device:
|Long press (>3s)||Can be initated from any state.||SPM will go into USER SETUP state.|
|Click||ON State||SPM will go into SHUTDOWN state and thereby either into hibernate or sleep.|
|Click||USER SETUP State||SPM will go into HIBERNATING state.|
|Click||SLEEPING State||SPM will go into BOOTING state.|
|Click||HIBERNATING State||SPM will go into BOOTING state.|
The blue LED indicates the current state of the low-level SPM system.
|Turned off||SPM is in OFF state.|
|Constantly dimmed||SPM is in HIBERNATING state.|
|Fading in||SPM is in BOOTING state.|
|Fading out||SPM is in SHUTTING DOWN state.|
|Constantly bright||SPM is in ON state.|
|Breathing slow||SPM is in SLEEP state.|
|Flashing medium (once a second)||SPM is in USER SETUP state.|
|Flashing rapidly||eMMC is begin flashed|
The green LED indicates the current state of the high-level system.
|Turned off||Not running or in the process of booting up.|
|Flashing brightly||Up and running but NOT (yet) connected to the cloud.|
|Constantly bright||Up and running and connected to the cloud.|
|Flashing rapidly||AutoPi Core software upgrade in progress|