Alarm functionality using the timer_fd kernel interface
Closed, ResolvedPublic

Description

Currently calindori e.g implements alarm functionality using the QTimer, it have two disadvantages,

  • It won't work if device is asleep
  • It takes CPU cycle to wake thing up every 15 mins and check the config file etc...

Implement this functionality using timer_fd interface, which allows to wake from sleep and doesn't need polling.

Related Objects

Mentioned In
T8904: Clock
bshah created this task.Apr 1 2020, 1:39 PM
nicolasfella removed nicolasfella as the assignee of this task.Jul 22 2020, 6:26 PM
nicolasfella added a subscriber: nicolasfella.

https://invent.kde.org/plasma-mobile/kclock/-/merge_requests/27

Ideally, in Plasma environment use PowerDevil's schedule wake up system would be better. However, this can act as a fall back method in case running in non plasma DE.

EspiDev moved this task from PM 1.0 to Done on the Plasma: Mobile board.Dec 9 2020, 4:05 AM
EspiDev edited projects, added Plasma: Mobile; removed Plasma: Mobile (PM 1.0).
bshah closed this task as Resolved.Mar 29 2021, 7:41 AM
bshah claimed this task.