Idle wake ups
-
I happily run flux 36.3 on my macbook pro. Many thanks for preserving my sleep patterns. But do want to preserve my battery life as much as possible. When my machine is idle, flux still shows a non zero energy impact and does 2 idle wake ups a second on average. This does actually hurt battery performance. (These numbers come from activity monitor.) Why is it waking up twice a second?
A quick glance at with instruments shows that these wake ups are caused by a recurring high frequency event timer. Can this timer be slowed down and can this be coalesced using the OS X methods introduced in Mavericks?
Thank you,
qb -
I am experiencing the same issue. Flux continuously wakes my mac from sleeping. The computer is warm and the battery drains. This is not ok. I can't use flux with this issue.
$ grep RTC /var/log/system.log
...
Sep 11 19:33:28 wheeljack kernel[0]: RTC: Alarm 2015/9/11 23:33:28, sleep 2015/9/11 23:32:30
Sep 11 19:35:04 wheeljack kernel[0]: Wake reason: RTC (Alarm)
Sep 11 19:35:04 wheeljack kernel[0]: RTC: Alarm 2015/9/11 23:35:04, sleep 2015/9/11 23:34:06
Sep 11 19:36:38 wheeljack kernel[0]: Wake reason: RTC (Alarm)
Sep 11 19:36:38 wheeljack kernel[0]: RTC: Alarm 2015/9/11 23:36:38, sleep 2015/9/11 23:35:40
Sep 11 19:38:12 wheeljack kernel[0]: Wake reason: RTC (Alarm)
Sep 11 19:38:12 wheeljack kernel[0]: RTC: Alarm 2015/9/11 23:38:12, sleep 2015/9/11 23:37:14
Sep 11 19:39:47 wheeljack kernel[0]: Wake reason: RTC (Alarm)
Sep 11 19:39:47 wheeljack kernel[0]: RTC: Alarm 2015/9/11 23:39:47, sleep 2015/9/11 23:38:49
Sep 11 19:41:22 wheeljack kernel[0]: Wake reason: RTC (Alarm)
Sep 11 19:41:22 wheeljack kernel[0]: RTC: Alarm 2015/9/11 23:41:22, sleep 2015/9/11 23:40:24
Sep 11 19:42:57 wheeljack kernel[0]: Wake reason: RTC (Alarm)
Sep 11 19:42:57 wheeljack kernel[0]: RTC: Alarm 2015/9/11 23:42:57, sleep 2015/9/11 23:42:00
Sep 11 19:44:31 wheeljack kernel[0]: Wake reason: RTC (Alarm)
Sep 11 19:44:31 wheeljack kernel[0]: RTC: Alarm 2015/9/11 23:44:31, sleep 2015/9/11 23:43:33
Sep 11 19:46:06 wheeljack kernel[0]: Wake reason: RTC (Alarm)
Sep 11 19:46:06 wheeljack kernel[0]: RTC: Alarm 2015/9/11 23:46:06, sleep 2015/9/11 23:45:08
Sep 11 19:47:40 wheeljack kernel[0]: Wake reason: RTC (Alarm)
Sep 11 19:47:40 wheeljack kernel[0]: RTC: Alarm 2015/9/11 23:47:40, sleep 2015/9/11 23:46:42
Sep 11 19:48:16 wheeljack kernel[0]: Wake reason: RTC (Alarm)
Sep 11 19:48:16 wheeljack kernel[0]: RTC: Alarm 2015/9/11 23:49:14, sleep 2015/9/11 23:48:16
Sep 11 19:49:50 wheeljack kernel[0]: Wake reason: RTC (Alarm)
... -
@offero said:
wheeljack kernel[0]: Wake reason: RTC (Alarm)
We don't touch anything with mDNS which is what google says this is so I'm thinking this is not f.lux related.
@quantumbiker Thanks for your note. We'll see if timer coalescing is possible yet (it wasn't when we looked into it). We have to poll for external changes in most cases. We could probably do a tradeoff of a battery optimized mode for some error conditions, might be worth it in your case.
-
@offero this may help? http://ispire.me/fix-yosemite-rtc-alarm-wakeup-issue/
-
I think you are right. I think this wasn't flux, but a backup program I had running. I thought it was flux because it is the newest software on my machine. There must be an issue with an update to the backup software... Thanks for that other link too.