# Enviro Weather Sleep Power Consumption High

**URL:** <https://forums.pimoroni.com/t/enviro-weather-sleep-power-consumption-high/24228>\
**Category:** Support\
**Created:** [February 20, 2024, 2:33pm UTC](https://forums.pimoroni.com/t/enviro-weather-sleep-power-consumption-high/24228 "2024-02-20T14:33:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![shanestarita](https://avatars.discourse-cdn.com/v4/letter/s/ecae2f/32.png) [@shanestarita](https://forums.pimoroni.com/u/shanestarita)\
**Post date:** [February 20, 2024, 2:33pm UTC](https://forums.pimoroni.com/t/enviro-weather-sleep-power-consumption-high/24228/1 "2024-02-20T14:33:51Z")

</div>

I have two Enviro Weather Pico W boards setup in the same way powered via LiPo batteries using VBAT. I did not use wifi at at all for comms and for my sleep current measurement I am doing running a script as below added to enviro.startup to make sure wifi is off, runs and takes readings per main.py and then I run a enviro.sleep that includes the below (excluding RTC and alarms etc.)

when calling hold\_vsys\_en\_pin.init(Pin.IN) which is supposed to cut power to the board the board does not turn off and continues to draw a lot of power around 30mA and seeing as this is a battery powered unit I need the sleep current to be ultra low. Calling hold\_vsys\_en\_pin.init(Pin.IN) does nothing and the 3v3 out and everything else just stays on.

On a side note - when substituting calling machine.lightsleep for say 20seconds I can see a noticeable drop in the current down to around 8 to 10mA

def sleep:()  
wlan = network.WLAN(network.STA\_IF)  
utime.sleep(0.5)  
wlan.disconnect()  
utime.sleep(0.5)  
wlan.active(False)  
utime.sleep(0.5)  
wlan.deinit()  
utime.sleep(0.5)  
hold\_vsys\_en\_pin.init(Pin.IN)

 ![ppk-20240220T133955](https://us1.discourse-cdn.com/flex016/uploads/pimoroni/original/2X/2/29864c05815bfa401754d015b24695f1944db212.png)

Any help or insight would be great
