Open RRPollack opened 7 years ago
I guess this has something to do with inhibit suspend. Please disable the inhibit suspend function manually by running sudo nano /usr/share/backintime/common/tools.py
and adding return
like shown below (around line 790) and checkout if your screens still power up:
def inhibitSuspend( app_id = sys.argv[0],
toplevel_xid = None,
reason = 'take snapshot',
flags = INHIBIT_SUSPENDING | INHIBIT_IDLE):
'''Prevent machine to go to suspend or hibernate.
Returns the inhibit cookie which is used to end the inhibitor.
'''
return #<---------- add this here
if not app_id:
app_id = 'backintime'
if not toplevel_xid:
toplevel_xid = 0
Thx for providing the workaround. Could this be done as an option in backintime?
Inhibiting suspend is great but many people do not have time based suspends but do not want there monitors to turn on all the time when a backup job runs.
Did the workaround fix the problem? I can't test it here because I don't have those problems.
Could you please undo the fix and remove | INHIBIT_IDLE
three lines above instead and test again if the problem comes back?
So the workaround works fine for me. I will test your suggestion and will report back.
Removing INHIBIT_IDLE
does not seem to fix the issue.
Okay. Thanks for testing
I'm having this issue on manjaro kde edition. I guess no fix for this yet?
Same problem with Kubuntu 18.04 using BIT 1.1.2, and now 20.04 with BIT 1.2.1.
As best I can see, this is a bug in a feature that 99% of users do not need. The last thing I need is some application blocking my system from suspending or hibernating when I want it to.
I used to use a company-issued Macbook. I closed the lid, expecting it to suspend as it was configured to do, and put it in my backpack. However, some unimportant application had blocked the suspension, which I didn't know about because the lid was closed. When I took it out of my backpack an hour or so later the thing was almost too hot to touch.
Please, please, please change BackInTime to not meddle in unrelated system behaviors like suspend and hibernate. If I wanted this kind of "we know better than you" behavior I'd use Apple crap instead of a Linux system.
The Issues is quite old. It this still relevant and can be reproduced with the latest (1.4.1) or a more fresh (1.3.3) version of BIT?
It this still relevant and can be reproduced with the latest (1.4.1) or a more fresh (1.3.3) version of BIT?
I am quite sure the behavior is the same in our latest version since the code is still in the backup
function and dates back to Oct. 10, 2014 (last changed):
I think this a feature request to
A similar feature already exists in the options:
It's also very hard to debug, because it doesn't happen in virtual machines. You need actual silicon to test this, and I haven't managed to set that up.
I've discovered that running Backintime causes my monitors to stay active despite the screen saver placing them in power-down mode.
Every morning I found my monitors fully powered up, although the displays were blank. This happened despite having verified that the screen saver had put them in their lowest power mode at the end of the day. Turning off the scheduled Backintime backup restores normal operation.
Kernel: Linux host 4.4.0-53-generic #74-Ubuntu SMP Fri Dec 2 15:59:10 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux Distro: Linux Mint 18.1 Serena KDE Screen Saver: Default KDE or xscreensaver Video driver: radeon
An excerpt from the lspci output:
Here's an excerpt from the syslog when backintime was running. I don't use Kwallet, thus the warnings re communcation with it.