2022 ASUS Zephyrus G14. #43
prairiedad
started this conversation in
General
Replies: 2 comments 2 replies
-
Just confirmed this. Set threshold to 60 via persist, but after booting into Windows and then back into Linux (in case I didn't make clear that I was dual-booting, that is the case) and threshold is back to 100. Might it make any difference if I compile locally? I don't have golang installed, but can do so. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Absolutely my fault, apologies!
With compiling myself in mind, I had a look at the code, and realized that
it requires systemd, which by default my favorite distro (MX) doesn't use.
As soon as I rebooted with systemd enabled, the precompiled version worked
just fine, of course.
You might move the words "requires systemd" a little higher in the
description, but otherwise you've done a really nice job.
I'll probably run the systemd version of MX for a while to protect my new
G14's battery, but ultimately I'll take on an init script wrapper for the
necessary commands, so I can go back to SysVinit.
Many thanks for this utility, and again, my apologies.
Dave
…On Sat, Apr 15, 2023, 5:18 AM Tshaka Lekholoane ***@***.***> wrote:
I doubt compiling it locally will have an effect. Reapplying the threshold
limit after booting is handled by systemd. What is the result of running
the following command?
sudo systemctl status bat-boot.service
—
Reply to this email directly, view it on GitHub
<#43 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ANVVQBKJG5O2PX6NQPT7PTLXBJ7WRANCNFSM6AAAAAAW65PL64>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm afraid it doesn's seem to work on my G14. I downloaded pre-compiled v. 0.12-0-g8daf723, installed it in /usr/local/bin, set permissions to 744. It responds appropriately when given commands...version, threshold, persist...but does not seem to "survive." I just left it plugged in for a while, after having set threshold to 60, and returned to find the battery at 100%. And yet it seemed to work fine for a few hours yesterday...
Any thoughts would be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions