sleep-config: check sleep mode only when hibernation
authorMike Yuan <me@yhndnzj.com>
Mon, 23 Oct 2023 13:19:29 +0000 (21:19 +0800)
committerMike Yuan <me@yhndnzj.com>
Mon, 23 Oct 2023 15:12:27 +0000 (23:12 +0800)
commitfefddffa538316defd0a136819f9b73e8d31ace3
treea227702f2422b34ee483622c183646ed7b4431da
parent1f82c21dceb2db0706c8f734ed5d8d7febc86477
sleep-config: check sleep mode only when hibernation

With the previous change, this should only be used when
doing hibernation.
src/shared/sleep-config.c