too many things

This commit is contained in:
fbachus committed 2025-09-02 03:32:47 +02:00
1 parent c26d3a64b0
commit f19e8a00c7
81 files changed
+2724 -1549

No files matched your search

@@ -0,0 +1,11 @@
function battery_capacity
cd /sys/class/power_supply/
for dir in ( ls | rg BAT | cut -d" " -f1)
cd $dir &&
cat energy_full | read x &&
cat energy_full_design | read y &&
echo "capacity % of $dir compared to design capacity"
kalker $x/$y &&
cd ..
end
end