# Hostless mode power consumption using the command line

Source: [https://docs.qualcomm.com/doc/80-58740-3/topic/power-measurement-use-cases.html](https://docs.qualcomm.com/doc/80-58740-3/topic/power-measurement-use-cases.html)

## Standby mode

Source: [https://docs.qualcomm.com/doc/80-58740-3/topic/power-measurement-use-cases.html](https://docs.qualcomm.com/doc/80-58740-3/topic/power-measurement-use-cases.html)

1. Reset the QCC74x board.
2. Connect the board to the power analyzer as described in [Set up the hardware for VDD core 3.3V](https://docs.qualcomm.com/doc/80-58740-3/topic/power-measurement.html#power-measurement-point).
3. Set up the console connection as described in [Connect the console](https://docs.qualcomm.com/doc/80-58740-3/topic/power-measurement.html#console-connection).
4. Run the following command to place the device in standby mode.

        > ticklessCopy to clipboard
5. Observe the power analyzer and note down the average power readings over a period of
                30 seconds.

## Hibernate mode

Source: [https://docs.qualcomm.com/doc/80-58740-3/topic/power-measurement-use-cases.html](https://docs.qualcomm.com/doc/80-58740-3/topic/power-measurement-use-cases.html)

1. Reset the QCC74x board.
2. Connect the board to the power analyzer as described in [Set up the hardware for VDD core 3.3V](https://docs.qualcomm.com/doc/80-58740-3/topic/power-measurement.html#power-measurement-point).
3. Set up the console connection as described in [Connect the console](https://docs.qualcomm.com/doc/80-58740-3/topic/power-measurement.html#console-connection).
4. Run the following command to place the device in hibernate
                    mode.

        > hbn_test <gpio_wakepin> 0 0 <sleep_duration> <hbn_level>Copy to clipboard

    Example:
                        `> hbn_test 16 0 0 30 0 `
5. Observe the power analyzer and note down the average power readings over a period of
                30 seconds.

## DTIM mode

Source: [https://docs.qualcomm.com/doc/80-58740-3/topic/power-measurement-use-cases.html](https://docs.qualcomm.com/doc/80-58740-3/topic/power-measurement-use-cases.html)

In DTIM mode, QCC74x is in receiving mode. RF/PHY/MAC/CPU/RAM starts to
            work normally and can receive Wi-Fi beacon data packets, and peripherals are in gating
            state. After receiving the command through the serial port, the program will connect to
            a router and enter the DTIM mode.

To measure the power of beacon mode power save (BMPS) in DTIM mode, follow these
            steps:

1. Connect the board to the power analyzer as described in [Set up the hardware for VDD core 3.3V](https://docs.qualcomm.com/doc/80-58740-3/topic/power-measurement.html#power-measurement-point).
2. Set up the console connection as described in [Connect the console](https://docs.qualcomm.com/doc/80-58740-3/topic/power-measurement.html#console-connection).
3. Set up Qualcomm reference AP and active connection to QCC74x using
                below
                command:

        > wifi_sta_connect “AP_SSID” “AP_Passphrase”Copy to clipboard
4. Use the following command to measure DTIM 10 mode
                power:

        > tickless 10Copy to clipboard
5. After successfully connecting to the access point, enter the command
                    `tickless 10/r/n` on the serial port tool to enter the DTIM 10
                mode. DUT will wake up every 10 beacons and go to sleep again after receiving the
                beacon.
6. Observe the power analyzer and note down the average power readings over a period of
                30 seconds.
7. Repeat steps 1-6 to measure power in DTIM 1/3/5 in 2.4 GHz.

Last Published: Feb 19, 2025

[Previous Topic
Prepare for power measurement](https://docs.qualcomm.com/bundle/publicresource/80-58740-3/topics/power-measurement.md) [Next Topic
Hosted mode power consumption using AT commands](https://docs.qualcomm.com/bundle/publicresource/80-58740-3/topics/ncp-mode-power-measurement-use-cases.md)