New answers tagged

0

The power usage of a USB device is not likely to change because it was moved to a different port. What is far more likely is that the reporting of the power consumption changed by moving to a new port. A charging USB port will have to make a larger power budget allocation if anything is detected on the port as a device that is charging from USB doesn't ...


0

After some more intense Googling I discovered the following command: systemctl restart upower I replicated the issue again by putting laptop into sleep mode and then executed the command after resuming from sleep and this resolved the issue.


0

It is possible that your battery will die for good . If the laptop is old, this could be the reason.


1

I'm surprised a machine reporting zero charge keeps running even for a few minutes when unplugged. As suggested in comments, this may be a hint that your battery is about to completely fail, but it might also indicate that your battery capacity calibration has been lost. The usual way to recalibrate battery capacity is to run the machine on battery until it ...


0

See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=989384 resp. https://gist.github.com/roadkell/9e98db6656e28fbbf1bf51082040f67f. I just compiled version 1.2.2 from https://github.com/nix-community/acpi_call/releases/tag/v1.2.2 and simply replaced acpi_call.ko with the compiled one and did a reboot.


0

I fixed it by changing the battery mode to balanced from the default value low battery.


0

In regards to your 4th question, if you're in "discrete" mode, then create this file: $ cat /usr/share/X11/xorg.conf.d/21-nvidia-brightness.conf Section "Device" Identifier "Device0" #Identifier "nvidia" Driver "nvidia" VendorName "NVIDIA Corporation" Option ...


0

For ubuntu 20.04, here's a bash script that gives persistent notifications for both high and low battery levels.


1

After a lot of research, here's a script that works perfectly - and gives persistent notifications for both high and low battery ;) Procedure Store the script (written below) in some folder (like a folder named scripts in the home directory) Open terminal and type: crontab -e Add this line to run the script automatically every 2 minutes: (Note: I've kept ...


0

Other ways in which you can improve your battery life: Lower your screen refresh rate. If it comes with say, 165 Hz by default, lower it to 60Hz. Lowering refresh rate significantly improves the battery life. Use cvt and xrandr to create a custom refresh rate. STEPS: Run this command to check your screen's name: xrandr. My results are eDP connected primary ...


0

I faced a similar issue today, I left my laptop on sleep for 3-4 days, and when i opened it on 5th day, the battery is at 0%. Charging the battery for around 24 hrs, helped me resolve the issue. now my battery is working fine, the issue was because the battery is completely drained, and it took some time to regain its power.


2

I have a Asus laptop and the approach which I have found from internet is as follows. This approach may already be a part of some of the apps mentioned above but putting it here for information. Create a service file named battery_charge_threshold.service like this. [Unit] Description=Set the battery charge threshold After=multi-user.target [Service] Type=...


0

On my asus laptop sudo -i eval "echo 60 > /sys/class/power_supply/BAT0/charge_control_end_threshold" If /sys/class/power_supply/BAT0/charge_control_end_threshold isn't there, it is more likely your laptop doesn't support it. This value get reset every time you reboot your laptop. You can configure a cron job or a systemd service to set it back. ...


Top 50 recent answers are included