Hi,
I found this useful extension to limit battery charge and extend battery life. However, it only works on gnome, not on mate. Do you know of a similar extension and/or an easy way to achieve the same purpose?
Thank you
You could try TLP.Easy?That depends on your comfort level with working in terminal I suppose and it will only work if your laptop supports setting a charge threshold but it still may be worth a read.
Hi,
in the meantime I tried with libsmbios which is specific for Dell, but it does not work for my device.
I followed your guide on using TLP. However, I get the following result and my device seems not to be compatible.
sudo nano /etc/tlp.conf
START_CHARGE_THRESH_BAT0=70
STOP_CHARGE_THRESH_BAT0=80
sudo tlp-stat -b
--- TLP 1.6.1 --------------------------------------------
+++ Battery Care
Plugin: generic
Supported features: none available
+++ Battery Status: BAT1
/sys/class/power_supply/BAT1/manufacturer = SMP-ATL3.66
/sys/class/power_supply/BAT1/model_name = DELL XDY9K483
/sys/class/power_supply/BAT1/cycle_count = 1
/sys/class/power_supply/BAT1/charge_full_design = 3600 [mAh]
/sys/class/power_supply/BAT1/charge_full = 3600 [mAh]
/sys/class/power_supply/BAT1/charge_now = 2917 [mAh]
/sys/class/power_supply/BAT1/current_now = 1808 [mA]
/sys/class/power_supply/BAT1/status = Charging
/sys/class/power_supply/BAT1/charge_control_start_threshold = (not available)
/sys/class/power_supply/BAT1/charge_control_end_threshold = (not available)
Charge = 81.0 [%]
Capacity = 100.0 [%]
sudo ls /sys/class/power_supply/BAT1/charge_control_end_threshold
ls: cannot access '/sys/class/power_supply/BAT1/charge_control_end_threshold': No such file or directory
sudo ls /sys/class/power_supply/BAT1/
alarm device/ status
capacity eppid subsystem/
capacity_level hwmon2/ technology
charge_full manufacturer temp
charge_full_design model_name type
charge_now power/ uevent
current_now present voltage_min_design
cycle_count serial_number voltage_now
What can I do?
Thank you
Sorry, can not tell you much. To me your information
+++ Battery Care
Plugin: generic
Supported features: none available
...
/sys/class/power_supply/BAT1/charge_control_start_threshold = (not available)
/sys/class/power_supply/BAT1/charge_control_end_threshold = (not available)
...
reads that generic TLP plugin does not support charge start/end thresholds.
Please have a look at Battery Care for Dell laptops (Kernel 6.12 required) · Issue #379 · linrunner/TLP · GitHub which hopefully may help.
Hi,
I saw that the 24.04.3 LTS will come with the 6.14 hwe kernel. So I installed it via PPA and had to add (GRUB_CMDLINE_LINUX_DEFAULT="kvm.enable_virt_at_load=0") to get virtualbox working, but that's another story.
Unfortunately, even installing the latest TLP 1.8.0 via PPA, it doesn't work.
sudo tlp-stat -b
--- TLP 1.8.0 --------------------------------------------
+++ Battery Care
Plugin: dell
Supported features: none available
Driver usage:
* natacpi (dell_laptop) = inactive (laptop not supported)
+++ Battery Status: BAT1
/sys/class/power_supply/BAT1/manufacturer = SMP-ATL3.66
/sys/class/power_supply/BAT1/model_name = DELL XDY9K483
/sys/class/power_supply/BAT1/cycle_count = 1
/sys/class/power_supply/BAT1/charge_full_design = 3600 [mAh]
/sys/class/power_supply/BAT1/charge_full = 3600 [mAh]
/sys/class/power_supply/BAT1/charge_now = 2913 [mAh]
/sys/class/power_supply/BAT1/current_now = 1761 [mA]
/sys/class/power_supply/BAT1/status = Charging
Charge = 80.9 [%]
Capacity = 100.0 [%]
Thank you