Daemon 中 timer 会停止

在daemon中跑一个timer,当锁屏一段时间后timer会停止,貌似是因为能耗管理造成的,有大佬有解决办法吗?