Summary: | Detect hibernation of computer and act accordingly | ||
---|---|---|---|
Product: | [Applications] rsibreak | Reporter: | Daniel Hahler <kde-bugzilla> |
Component: | general | Assignee: | Tom Albers <toma> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | me |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Daniel Hahler
2006-11-01 12:59:02 UTC
How should I figure out that you suspended/hibernated your computer? If the last absolute time is "far smaller" than the current one. E.g., normally the time bumps by 1sec everytime RSIBreak checks it, but then it would be e.g. 7260 (two hours and 1 minute). SVN commit 875635 by toma: Add detection of sudden jumps in time and reset the timers in that case. Can be replaced if HAL decides to emit a signal.. I would appreciate feedback if this actually works for you. BUG: 136625 M +16 -0 rsitimer.cpp M +1 -0 rsitimer.h WebSVN link: http://websvn.kde.org/?view=rev&revision=875635 |