fix "Lockscreen / Active mode are continuing to run after unplugging device with [Only while charging] option enabled"