Conditional shutdown: shutdown when battery <5% OR /home alm

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

Conditional shutdown: shutdown when battery <5% OR /home alm

Postby vmunich » Jan 24th, '25, 15:43

I am using Mageia 9. I would like to initiate shutdown when any of the following condition is met:

my laptop's battery is < 5 %
my /home partition is almost full
Is there a way to initiate shutdown when any of these condition is met ?!

Thanks !
Vincent
Vincent
--
Mandrake since 1998, then Mandriva, then Mageia....
vmunich
 
Posts: 55
Joined: Jan 11th, '13, 12:35

Re: Conditional shutdown: shutdown when battery <5% OR /home

Postby sturmvogel » Jan 24th, '25, 17:05

vmunich wrote:my laptop's battery is < 5 %

Easily done by using the Power Management settings (via systemsettings in Plasma). As you didn't say which DE you are using...

vmunich wrote:my /home partition is almost full

Why shutting down instead of getting notified to be able to take counter meassures?
sturmvogel
 
Posts: 738
Joined: Jul 30th, '12, 00:39


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest