OSDN Git Service

libsuspend: add sleep.state=force
authorChih-Wei Huang <cwhuang@linux.org.tw>
Tue, 12 Mar 2019 08:21:42 +0000 (16:21 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Tue, 12 Mar 2019 08:21:42 +0000 (16:21 +0800)
commit322112009d7098207802eb966081c6e0cd88e34b
tree0dde03409faa4f992ce8b93bfd59d9395c8c6c4b
parent47b25a0ac5ea9f89518acdbe3f47d6b349560b3c
libsuspend: add sleep.state=force

Some devices have bad wakeup_count that prevents them from sleeping.
To workaround that, add sleep.state=force to ignore the wakeup_count
interface to put the devices into deep sleep forcibly.
libsuspend/autosuspend_wakeup_count.c