Je souhaite vérifier la valeur autopoweroff
et les autopoweroffdelay
paramètres du profil "Alimentation de la batterie" lors de l'exécution du profil "Alimentation" (précisément quel que soit le profil actuellement actif).
La pmset -g
commande ne renvoie que les valeurs du profil et de l’ -b
option actuels (appliquer les paramètres à la batterie) ne fonctionne que pour définir les options ne les lisant pas (ne peut pas être utilisée avec -g
).
Existe-t-il un autre moyen / commande permettant de vérifier les valeurs?
man
la page ne le mentionne pas. Quoi qu'il en soit, je ne comprends pas sa sortie - il affiche tous les profils autopoweroff 1
alors que si je débranche le câble d’alimentation et que pmset -g
je lance, j’obtiens «autopoweroff 0».
pmset -g profiles