In ncs 2.4.0, this code was executed in power_manager.c when button pressed while powering down:
In ncs 2.4.0, this code was executed in power_manager.c when button pressed while powering down:
Hi tellg,
I have asked about this behavior change internally and will update you when I get any feedback. Do you mind sharing why you need the wakeup button to work before powering down is completed?
Hieu
Hi tellg,
I have asked about this behavior change internally and will update you when I get any feedback. Do you mind sharing why you need the wakeup button to work before powering down is completed?
Hieu
I don't need wakeup to work at that point, but if buttonpress happens while powering down, then that button cannot wakeup the system anymore (device reset seems to be needed to fix this). I think the referenced code took care of that situation in ncs 2.4.0, but power down was modified in ncs 2.5.0 to use sys_poweroff, ref https://github.com/nrfconnect/sdk-nrf/commit/b6aa1ab2aae94c5e266c73ef5930d6893cb971d3
Ah I see. That is a problem. I will follow-up with you as soon as I get any information.