Skip to content

Commit 3b1b814

Browse files
committed
Battery (Linux): add comments [ci skip]
1 parent a61765c commit 3b1b814

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/detection/battery/battery_linux.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ static void parseBattery(FFstrbuf* dir, const char* id, FFBatteryOptions* option
3333

3434
//capacity must exist and be not empty
3535
ffStrbufAppendS(dir, "/capacity");
36-
bool available = ffReadFileBuffer(dir->chars, &tmpBuffer);
36+
bool available = ffReadFileBuffer(dir->chars, &tmpBuffer); // This is expensive in my laptop
3737
ffStrbufSubstrBefore(dir, dirLength);
3838

3939
if (!available)

0 commit comments

Comments
 (0)