summaryrefslogtreecommitdiffstats
path: root/src/tdepowersave.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Solve issue with CPU using 100% resources when autodimm was activated. This ↵Michele Calgaro2023-09-061-29/+33
| | | | | | | | | | | | resolves issue TDE/tde#136. The problem was hardware dependent and only noticable when the backlight card has hundreds or thousands of steps. This was causing non-stop calls to setBrightness, which did not have enough CPU time to complete its task before the next call, resulting in the CPU eating up all resources, non stop. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Fix rounding error when setting brightness by percentageMichele Calgaro2023-09-041-10/+8
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Separate logic to set brightness by absolute level or percentageMichele Calgaro2023-09-041-5/+5
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Extend DCOP interface with new brightnessSet methodMichele Calgaro2023-08-231-0/+12
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Fix value returned by 'brightnessGet' DCOP call. The value is now in the ↵Michele Calgaro2023-08-231-1/+1
| | | | | | range 0-100 (percentage) or -1 if brightness is not supported Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Removed HAL dependant code.Michele Calgaro2022-02-101-1/+5
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Replaced custom help menu with standard TDE help menu. This resolves bug 3087.Michele Calgaro2020-04-201-39/+7
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Fix improper use of TQString::ascii().Slávek Banko2019-11-061-23/+23
| | | | | | This resolves issue #4. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Renamed Sleep to Suspend, following discussion on a more consistentMichele Calgaro2018-11-041-13/+13
| | | | | | naming convention for shutdown actions. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Added support for hybrid suspend (aka suspend to RAM + suspend to disk).Michele Calgaro2016-05-071-19/+133
| | | | | | This relates to bug 2601. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Fixed autosuspend functionality broken by commit fab0d15. This relates to ↵Michele Calgaro2016-05-061-3/+3
| | | | | | bug 2632. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Renamed "Suspend to disk" to "Hibernate" and "Suspend to RAM" to "Sleep", to ↵Michele Calgaro2016-04-161-26/+26
| | | | | | | | align to main logout menu. This refers to bug 2602. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Fixed up timer for autosuspend and autodimm when a screensaver is also in ↵Michele Calgaro2016-03-131-4/+4
| | | | | | use. This resolves bug 2603. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Increased maximum time limit for timers to 50000 min (almost 35 days). This ↵Michele Calgaro2016-03-081-5/+5
| | | | | | | | | relates to bug 2599. NOTE: if the max limit is removed, the TQSpinBox reverts to the default value of 99. Also fixed minimum limit for some timers and percentage fields. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Fix abort on startup due to oversized tray icon creation when icon widget ↵Timothy Pearson2014-07-081-4/+7
| | | | has not yet been shown
* Fix unintended renamingDarrell Anderson2014-02-161-13/+13
|
* Switch from dbus-tqt do dbus-1-tqtSlávek Banko2014-02-081-14/+8
| | | | | | Add systemd session and inhibit support Cleanup unused methods This partially resolves Bug 1597
* Fix setting cpu frequence without sufficient privilegesSlávek Banko2013-10-061-2/+2
|
* Add support for freeze suspend stateSlávek Banko2013-09-221-10/+127
|
* Completely disable autosuspend functions if system does not support suspendTimothy Pearson2013-08-291-29/+74
| | | | This relates to Bug 1615
* Fix ACPI event detection as a normal userTimothy Pearson2013-08-251-3/+29
| | | | | This resolves Bug 1597 Do not display logout dialog if screensaver/lock dialog is active
* Fix failure to reenter suspend/standbyTimothy Pearson2013-08-251-1/+1
| | | | This relates to Bug 1597
* Make menu consistent.Darrell Anderson2013-08-171-1/+1
|
* Add cmake support for help handbook with preliminary support added for po files.Darrell Anderson2013-08-161-1/+1
|
* Fix typos.Darrell Anderson2013-08-091-1/+1
|
* Update references from kpowersave to tdepowersave.Darrell Anderson2013-07-141-0/+2678