Following this guide, I have successfully set my battery-charge-threshold.service. The issue is that I have to do the following after each boot for it to take effect:
Is there a way to force this on boot? I think it was working fine with my previous EOS installation. I’m not sure what I’ve changed that disables the service after I shut down the machine. Thank you.
(base) [tigran@asus ~]$ systemctl status battery-charge-threshold.service
○ battery-charge-threshold.service - Set the battery charge threshold
Loaded: loaded (/etc/systemd/system/battery-charge-threshold.service; enabled; vendor preset: disabled)
Active: inactive (dead) since Tue 2021-11-23 12:46:58 CST; 4min 33s ago
Process: 568 ExecStart=/bin/bash -c echo 25 > /sys/class/power_supply/BAT0/charge_control_end_threshold (code=exited, status=0/SUCCESS)
Main PID: 568 (code=exited, status=0/SUCCESS)
CPU: 2ms
Nov 23 12:46:58 asus systemd[1]: Starting Set the battery charge threshold...
Nov 23 12:46:58 asus systemd[1]: battery-charge-threshold.service: Deactivated successfully.
Nov 23 12:46:58 asus systemd[1]: Finished Set the battery charge threshold.
is this not exactly what it should do? Starting Set the battery charge threshold will ExecStart=/bin/bash -c echo 25 > /sys/class/power_supply/BAT0/charge_control_end_threshold
after set this it goes to sleep till next reboot…
status says all is fine too Loaded: loaded (/etc/systemd/system/battery-charge-threshold.service; enabled
Oh I have noticed similar behavior with my /proc/cmdline. Every time I update it following this guide, it goes back to its initial state after reboot. The content does not hold after the next boot
I don’t have tlp. I have installed my nvidia following this guide. So I installed asusctl supergfxctl and one of those had conflict with tlp so pacman removed tlp. I didn’t understand much about what happened tho. But since everything seemed fine, I moved on. How can I understand exactly which package does that?
When installing EndeavourOS don’t use the option with Nvidia drivers preinstalled, this installs configs with might conflict with supergfxctl and installs the driver with works only with stock kernel. Use the default install option then install nvidia-dkms post install.