## General - Power-off Memory
### Function Introduction
- The power-off memory function is used to set the power-on and power-off light-on status, and supports setting the default light status every time the power is turned on.

### DP protocol
- DP: power_memory

|Serial number | Name | Bytes | Identifier | Data type | Field attributes | Field description |
|---|---|---|---|---|---|---|
|1| Version number | 1 | version | Enumeration | Initial version: 00 | |
|2| Mode | 1 | mode | Enumeration | Initial default value: 00 Restore memory value: 01 User customization: 02 ||
|3| Hue | 2 | H | Value | Maximum value: 360 Minimum value: 0 Step: 1 Multiple: 0 | Hue: 0-360, 0X0000-0X0168 |
|4| Saturation | 2 | S | Value | Maximum value: 1000 Minimum value: 0 Step: 1 Multiple: 0 | 0-1000, 0X0000-0X03E8|
|5| Brightness| 2| V| Value| Maximum value: 1000 Minimum value: 0 Step: 1 Multiple: 0| 0-1000, 0X0000-0X03E8|
|6| White light brightness| 2| B| Value| Maximum value: 1000 Minimum value: 10 Step: 1 Multiple: 0 | 0-1000, 0X0000-0X03E8|
|7| Color temperature| 2| T| Value| Maximum value: 1000 Minimum value: 0 Step: 1 Multiple: 0| 0-1000, 0X0000-0X03E8|

### How to develop
- Monitor and report DP according to UI interaction
  - [Specific monitoring and sending examples](/en/miniapp/solution-panel/ability#device-function-point-management)

- Power-off memory supports three states
  - Initial mode
    - Initial mode firmware end hard-coded state
  - Restore memory
    - Restore to the state before power failure
  - User customization
    - Users can configure by themselves
    - From DP, user-defined configuration supports HSVBT  customization.
      - HSVBT cannot be set in the other two modes.
### Notes
None

### Related materials
- [Function page]: 
  - None
- [Component]: 
  - None
- [Tutorial]: 
  - None
- [SDK]: 
  - None
- [API]: 
  - None