[s2w/dt2w pwrkey suspend]: Make it more robust

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>