its a kernel feature known as recovery,
you cant change unless you change your kernel with desired option enabled one

edit: didnt try but this app seems like do what you want (https://play.google.com/store/apps/details?id=com.as.powerchecker&hl=en)