Low power mode on RV50

Hello,
I am trying to program the RV50 to enter the low power mode after a condition is satisfied but it is not working.

if (datain == 's') then
                  dev.set('system.aleos.io.relay1',1)
				  dev.set ('system.aleos.io.relay1', 0)
				  dev.set('system.aleos.low_pwr.mode',1)
				  dev.set('system.aleos.low_pwr.delay',3)
				  dev.set(power_down_inact_dur,"01:00")
				  
            end

Any help please?!