coadmunkee / gnome-shell-extension-espresso

Enable controlling conditions to prevent the usual auto suspend and screensaver functions from taking effect.
https://extensions.gnome.org/extension/4135/espresso/
GNU General Public License v2.0
69 stars 14 forks source link

Battery level detection for auto-disabling Espresso #18

Open msmafra opened 2 years ago

msmafra commented 2 years ago

Hello there!

I am so accustomed to Caffeine and now Espresso, that every time my laptop is on battery I thought the power management and/or NVIDIA drivers were causing shutdowns. It is funny how used to it, I am that never thought before that it could be interfering. So a battery level threshold field would be very welcomed.

coadmunkee commented 2 years ago

msmafra - What were you thinking? Maybe a field on the options tab that lets you set a battery percentage and turn off Espresso if the battery reaches or drops below that percentage? Not sure that this is something I could/would do quickly - but I can look into it and do some basic research to see what is possible.

msmafra commented 2 years ago

msmafra - What were you thinking? Maybe a field on the options tab that lets you set a battery percentage and turn off Espresso if the battery reaches or drops below that percentage? Not sure that this is something I could/would do quickly - but I can look into it and do some basic research to see what is possible.

It would be a very good addition. Thank you kindly