Checking battery level when ACPI has problems

Clash Royale CLAN TAG#URR8PPP
up vote
2
down vote
favorite
I am running Debian Buster (testing) / Sid on an Iball Excelance laptop (an Indian company). I initially had problems with the laptop trying to suspend and then freezing immediately after finishing booting up. These problems went away when I included the acpi=strict parameter in boot-time kernel options.
However, the problem now is that there seems to be no way to get information about the battery level. The usual /sys/class/power_supply is empty and /proc/acpi only has a button directory in it and a file called wakeup.
Is there any way around this? Can I try some other acpi parameter at boot up (acpi=off won't help and in any case blocks the i915 graphics driver, acpi=noirq did not stop the freezing problem)? Or is there some other way to find out the battery level?
acpi battery
add a comment |Â
up vote
2
down vote
favorite
I am running Debian Buster (testing) / Sid on an Iball Excelance laptop (an Indian company). I initially had problems with the laptop trying to suspend and then freezing immediately after finishing booting up. These problems went away when I included the acpi=strict parameter in boot-time kernel options.
However, the problem now is that there seems to be no way to get information about the battery level. The usual /sys/class/power_supply is empty and /proc/acpi only has a button directory in it and a file called wakeup.
Is there any way around this? Can I try some other acpi parameter at boot up (acpi=off won't help and in any case blocks the i915 graphics driver, acpi=noirq did not stop the freezing problem)? Or is there some other way to find out the battery level?
acpi battery
man upower,man acpi
â ajeh
Jun 7 at 18:35
add a comment |Â
up vote
2
down vote
favorite
up vote
2
down vote
favorite
I am running Debian Buster (testing) / Sid on an Iball Excelance laptop (an Indian company). I initially had problems with the laptop trying to suspend and then freezing immediately after finishing booting up. These problems went away when I included the acpi=strict parameter in boot-time kernel options.
However, the problem now is that there seems to be no way to get information about the battery level. The usual /sys/class/power_supply is empty and /proc/acpi only has a button directory in it and a file called wakeup.
Is there any way around this? Can I try some other acpi parameter at boot up (acpi=off won't help and in any case blocks the i915 graphics driver, acpi=noirq did not stop the freezing problem)? Or is there some other way to find out the battery level?
acpi battery
I am running Debian Buster (testing) / Sid on an Iball Excelance laptop (an Indian company). I initially had problems with the laptop trying to suspend and then freezing immediately after finishing booting up. These problems went away when I included the acpi=strict parameter in boot-time kernel options.
However, the problem now is that there seems to be no way to get information about the battery level. The usual /sys/class/power_supply is empty and /proc/acpi only has a button directory in it and a file called wakeup.
Is there any way around this? Can I try some other acpi parameter at boot up (acpi=off won't help and in any case blocks the i915 graphics driver, acpi=noirq did not stop the freezing problem)? Or is there some other way to find out the battery level?
acpi battery
asked Jun 7 at 16:39
ShankarG
17915
17915
man upower,man acpi
â ajeh
Jun 7 at 18:35
add a comment |Â
man upower,man acpi
â ajeh
Jun 7 at 18:35
man upower, man acpiâ ajeh
Jun 7 at 18:35
man upower, man acpiâ ajeh
Jun 7 at 18:35
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
0
down vote
You can use upower command
upower -i $(upower -e | grep 'BAT') | grep -E "state|to full|percentage"
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
You can use upower command
upower -i $(upower -e | grep 'BAT') | grep -E "state|to full|percentage"
add a comment |Â
up vote
0
down vote
You can use upower command
upower -i $(upower -e | grep 'BAT') | grep -E "state|to full|percentage"
add a comment |Â
up vote
0
down vote
up vote
0
down vote
You can use upower command
upower -i $(upower -e | grep 'BAT') | grep -E "state|to full|percentage"
You can use upower command
upower -i $(upower -e | grep 'BAT') | grep -E "state|to full|percentage"
edited Jun 7 at 19:43
answered Jun 7 at 19:29
SivaPrasath
4,26911939
4,26911939
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f448466%2fchecking-battery-level-when-acpi-has-problems%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
man upower,man acpiâ ajeh
Jun 7 at 18:35