Bug 472159

Summary: Partition Manager does not disable suspension (sleep) mode while executing a task, which can cause data loss
Product: [Applications] partitionmanager Reporter: Fabio C. Barrionuevo <bnafta>
Component: generalAssignee: Andrius Štikonas <andrius>
Status: RESOLVED DUPLICATE    
Severity: major CC: tbertels
Priority: NOR    
Version: 23.04.3   
Target Milestone: ---   
Platform: Neon   
OS: Other   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Fabio C. Barrionuevo 2023-07-11 15:21:20 UTC
SUMMARY

Hello, I started KDE Neon via USB to perform NTFS partition resizing via PartitionManager. The resizing process would take over 1 hour so I left to do something else and when I came back I realized the computer was off.
The problem was that by default, KDE Neon was set to go into suspension (sleep) mode after 15 minutes of no interaction.

PartitionManager should be able to temporarily disable any setting that causes the computer to go into suspension, hibernation, or low power mode while some task is being performed.

I guess entering suspension (sleep) mode while performing a task on a partition can cause data loss in some cases


STEPS TO REPRODUCE
1. Start KDE Neon Live USB
2. Start the PartitionManager and start performing a very long-time task
3. Do not interact with the system for at least 15 minutes and after that the OS will go into suspension mode

OBSERVED RESULT
Even with Partition Manager performing the long task of moving a partition, the OS may still go into suspension mode.

EXPECTED RESULT
While Partition Manager is executing any task, the OS should NEVER go into suspension, hibernation or low power mode

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: KDE Neon User Edition 5.27
KDE Plasma Version: 5.27.6
KDE Frameworks Version: 5.107.0
Qt Version: 5.15.10

ADDITIONAL INFORMATION
Comment 1 Thomas Bertels 2024-05-01 06:26:10 UTC
This is really needed.

*** This bug has been marked as a duplicate of bug 462103 ***