Hallo Hakan,
thank you for the reply.

Am 01.05.2025 09:45 schrieb Hakan Bayındır:
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.

Sounds like an akward Mac-like use case to me. :D
But I am assuming I just don't get that use case. Even on Windows you can trigger sleep mode when closing the lid but keep the system awak when the lid is open. Why does Mac need an extra application for that?

Maybe BiT can behave the same way. Inhibiting sleep, but not
preventing lid to trigger sleep/standby.

I don't get that either. In this case BIT need to "monitor" the lid status and even know that there is a lid. I need to release the inhibition when the lid is closed. To complex in implementation and even complex for users.

but can you point me to the code which
handles this in BiT?

You can dive in the code via following the linked issue.

But the question is not about code or how to implement something. It is more about behavior of BIT itself. Implementing is very easy.
The question is more about inverting a 17 year old default behavior.

Currently to me the answer of my initial question is "No". And I can implement that (don't inhibit) even with keeping the old behavior (inhibit) for existing backup profiles.

Regards,
Christian
_______________________________________________
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