Duplicati does not allow the system to go to sleep even after all backups have finished.
Author: pb2004Created Apr 10, 2026Updated Sep 3, 2026
- [x ] I have searched open and closed issues for duplicates.
- [ X] I have searched the forum for related topics.
Environment info
- Duplicati version: 2.2.0.3 - 2.2.0.3_stable_2026-01-06
- Operating system: Windows 11
- Backend: not applicable
Description
Duplicati sometimes for unknown reason doesn't call Win32.SetThreadExecutionState(Win32.EXECUTION_STATE.ES_CONTINUOUS); at backup end. Because of this system can't go to sleep. For example today powercfg /requests gives: PS C:\Users\piotr> powercfg /requests DISPLAY: None.
SYSTEM: [PROCESS] \Device\HarddiskVolume3\tools\duplicati-2.2.0.3_stable_2026-01-06-win-x64-gui\Duplicati.Server.exe
AWAYMODE: None.
EXECUTION: None.
PERFBOOST: None.
ACTIVELOCKSCREEN: None.
even though the last backup finished a few hours ago. I get the impression that this usually happens when the backup task doesn’t find any modified files and runs without making any changes.
Steps to reproduce
Normal duplicati work.
- Actual result: See above.
- Expected result: Duplicati after backup ends calls Win32.SetThreadExecutionState(Win32.EXECUTION_STATE.ES_CONTINUOUS);
Source: duplicati/duplicati