# SoC Power Saving states
Source: [https://docs.qualcomm.com/doc/80-70014-30/topic/socpowerstate.html](https://docs.qualcomm.com/doc/80-70014-30/topic/socpowerstate.html)
The SoC supports multiple System Sleep states based on the requirement of resources,
such as, double data rate (DDR), crystal oscillator (XO) clock, digital power supply
(`Chip_CX`), and memory domains power supply
(`Chip_MX`).
As the sleep state transitions from Active state to SoC Sleep state, the platform's power
consumption decreases.
For example, when the platform is idle with no use cases running, it is in the SoC Sleep
state (AOSD). This is the deepest sleep state and consumes the least power. During this
state, the resources, such as, XO clock, memory, and power supply of digital, and memory
domains also enter their respective sleep states.
The following table lists the supported SoC Sleep states.
Note: The SoC Power states listed in the table are for information
only. You do not have access to enable or disable Sleep Power states.
Table : SoC Sleep Power states
| Power state | Resource states |
| --- | --- |
| Active |
- XO clock on
Chip_CX (Digital) and
Chip_MX (Memory) power domains operate
at active voltage level
|
| DDR collapse |
- Memory in Self-Refresh mode
- XO clock on
Chip_CX and Chip_MX power
domains are configured with active voltage
|
| XO shutdown (CXSD) |
- Memory in Self-Refresh mode
- XO clock off
Chip_CX power domain configured with least
voltage
Chip_MX configured with active voltage
|
| SoC sleep (AOSD) |
- Deepest system sleep state where the system is expected to
achieve lowest sleep power, this is the most desired state
for power management
- Memory in Self-Refresh mode
- XO clock off
Chip_CX and Chip_MX power
domains configured with least voltage
|
## Check SoC Sleep state
To retrieve SoC sleep statistics run the following commands:
mount -t debugfs none /sys/kernel/debug
Copy to clipboard
cat /sys/kernel/debug/qcom_stats/aosdCopy to clipboard
cat /sys/kernel/debug/qcom_stats/cxsdCopy to clipboard
Following is a sample output:
Count: 3
Last Entered At: 1087943710378
Last Exited At: 1088442890377
Accumulated Duration: 6668562002
The following table explains the fields of the output:
Table : SoC Power states output fields
| Field | Explanation |
| --- | --- |
| `Count` |
- Indicates the number of times the SoC entered a
particular power state
- Non-zero count indicates that the SoC has exercised
sleep states
|
| `Last Entered At` | Indicates the last sleep entry timestamp in ticks |
| `Last Exited At` | Indicates the last sleep exit timestamp in ticks |
| `Accumulated duration` | Total amount of time in sleep, represented in ticks |
Note: Ticks are based on the frequency of XO clock 19.2
MHz.
**Parent Topic:** [Power states and features](https://docs.qualcomm.com/doc/80-70014-30/topic/powerfeatures.html)
Last Published: Jul 15, 2024
[Previous Topic
Power states and features](https://docs.qualcomm.com/bundle/publicresource/80-70014-30/topics/powerfeatures.md) [Next Topic
CPU power management](https://docs.qualcomm.com/bundle/publicresource/80-70014-30/topics/cpupowermanagement.md)