Help! Wifi power while waiting for IP from AP

FluxGS
Posts: 29
Joined: Sun Mar 18, 2018 7:01 am

Help! Wifi power while waiting for IP from AP

Postby FluxGS » Thu May 04, 2023 6:13 pm

Hello and thank you for your read!
I am trying to understand a high battery discharge rate in a battery application which I have been using since 2017.

The only new element is how long it takes to get an IP from the AP. It used to be in milliseconds and is now averaging 12 seconds.

The battery drain corresponds to this shift.

MY QQQuestion is: What is the wifi power while waiting for an IP from the AP??

My assumption is that listening to the AP for an IP required low power (non transmit).

Can someone confirm if the wifi tx power is enabled while waiting for and IP?

If so, is there a way to turn if off and listen only?

We are having kind of a battery drain crisis here and any help is appreciated!

Health and regards,

FluxGS
Posts: 29
Joined: Sun Mar 18, 2018 7:01 am

Re: Help! Wifi power while waiting for IP from AP

Postby FluxGS » Fri May 05, 2023 12:57 am

I also wonder what is the wifi power during an AP scan?

Please help.
Health and regards,

ESP_Sprite
Posts: 9764
Joined: Thu Nov 26, 2015 4:08 am

Re: Help! Wifi power while waiting for IP from AP

Postby ESP_Sprite » Fri May 05, 2023 1:46 am

Hard to say. Tx uses a fair bit of power, but Rx also is not cheap (datasheet section 5.5 indicates about 100mA) but by the time DHCP is active, presumably DTIM would already have kicked in (depends on the access point and your configuration) lowering that number by a fair bit. Do you have any idea why it would take 12 seconds to get an IP? That's fairly long.

FluxGS
Posts: 29
Joined: Sun Mar 18, 2018 7:01 am

Re: Help! Wifi power while waiting for IP from AP

Postby FluxGS » Fri May 05, 2023 12:22 pm

Thank you for your reply. Unfortunately, the time to receive an IP address has recently expanded and is not entirely under our control. Trying to understand what criteria is causing the new battery drain condition. It sounds like a long IP wait could contribute.

Who is online

Users browsing this forum: No registered users and 200 guests