Hi Christian,

Sorry for not posting a more technically detailed reply, but I had no time to 
dig into details of Linux, and it’s been a while since I worked on that parts.

However, I like how “Amphetamine” (a macOS application) behaves by default. 
Amphetamine is a tool which prevents Macs from sleeping. When you enable it, it 
keeps Macs awake, but the catch is, the device is allowed to sleep when its lid 
is closed.

Maybe BiT can behave the same way. Inhibiting sleep, but not preventing lid to 
trigger sleep/standby. I will try to look into details of this next week, but 
can you point me to the code which handles this in BiT?

Hope this helps,

Cheers,

Hakan

> On 28 Apr 2025, at 16:31, [email protected] wrote:
> 
> Hello,
> I stumbled across a bunch of old issues related to power management, DBus and 
> inhibiting suspend mode. I was doing some refactoring in this area.
> 
> So the question [1] comes up, I was also asking at Mastodon [2]:
> 
>    "Should Back In Time inhibit suspend or idle mode by default?"
> 
> Some opinions or Vetos about it?
> 
> Thank you and best wishes,
> Christian
> 
> [1] -- <https://github.com/bit-team/backintime/issues/2108>
> [2] -- <https://fosstodon.org/@backintime/114415822192466615>
> _______________________________________________
> Bit-dev mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
> https://mail.python.org/mailman3/lists/bit-dev.python.org/
> Member address: [email protected]

_______________________________________________
Bit-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/bit-dev.python.org/
Member address: [email protected]

Reply via email to