Remove battery

This commit is contained in:
ekzyis 2024-04-21 15:39:35 +02:00
parent 6c078d4717
commit 449dfd6f33
1 changed files with 1 additions and 1 deletions

View File

@ -237,7 +237,7 @@ main(void)
t1 = gettemperature("/sys/devices/virtual/thermal/thermal_zone1", "temp"); t1 = gettemperature("/sys/devices/virtual/thermal/thermal_zone1", "temp");
freeMem = execscript("free -m | grep Mem | awk '{ print $3 }'"); freeMem = execscript("free -m | grep Mem | awk '{ print $3 }'");
status = smprintf("| %d°C | %s | %sM | %s | %s |", t0 > t1 ? t0 : t1, avgs, freeMem, bat, tmbln); status = smprintf("| %d°C | %s | %sM | %s |", t0 > t1 ? t0 : t1, avgs, freeMem, tmbln);
setstatus(status); setstatus(status);
// free(surfs); // free(surfs);