Sounds like a bug in the applet, frankly.
Try this in Bash:
$ echo $((`cat /sys/class/power_supply/BAT0/energy_now` * 100 / `cat /sys/class/power_supply/BAT0/energy_full`))
Sounds like a bug in the applet, frankly.
Try this in Bash:
$ echo $((`cat /sys/class/power_supply/BAT0/energy_now` * 100 / `cat /sys/class/power_supply/BAT0/energy_full`))
You’ll have to try :) I’d be wary of having multiple daemons managing your battery, though - it sounds like a recipe for conflicts, infinite loops and such.
No idea about TLP, I’m not using that.
I created a systemd
service for setting the charging threshold on boot, works for me.
This is NixOS syntax, but you get the idea:
systemd.services.battery-charge-control = {
description = "Set battery charging behavior";
script = "echo 70 > /sys/class/power_supply/BAT0/charge_start_threshold; echo 81 > /sys/class/power_supply/BAT0/charge_stop_threshold";
wantedBy = [ "multi-user.target" ];
};
Yep. You could start with searching for “Lazy newb pack”.
VS Code runs flawlessly on Linux, as does dotnet
the compiler/runtime.
C# is a fine language, and you can easily upgrade to F#, if adventurous.
I use nvim with omnisharp-roslyn myself, which doesn’t work as reliably, but I’m used to Vim, so meh.
AI deepfake? Meh.