commit 09c819f310807fbf3122806a6d5cbaf681ffb949 from: Benjamin Stürz date: Wed Jul 31 12:37:05 2024 UTC bedstatus/linux: bat(): remove usesless set commit - 86c24ae00219f289b4465297dcbb128e81f42a02 commit + 09c819f310807fbf3122806a6d5cbaf681ffb949 blob - 8d2f4905068882179266f3531067cd1fc13509ae blob + 8993cba979d8427b7f04861b2088be3bc2cb515c --- bedstatus/linux.c +++ bedstatus/linux.c @@ -182,7 +182,6 @@ static char *bat_read (const struct bat *bat, const ch static void bat (struct status *st) { unsigned long nowsum = 0, fullsum = 0; - st->has_bat_charging = false; for (int i = 0; i < nbat; ++i) { const struct bat *bat = &bats[i];