LVL_THRESHOLD

This commit is contained in:
2026-04-01 04:18:18 +09:00
parent 5e06b9e157
commit 2a7398a1c9

View File

@@ -627,6 +627,7 @@ class BatteryWindow(Adw.ApplicationWindow):
# merge adjacent sessions with same status and small gaps
MERGE_GAP = 180 # 3 minutes — merge if same status and gap < this
GAP_THRESHOLD = 180 # show gap row if gap >= this between different statuses
LVL_THRESHOLD = 0
merged = []
for s in sessions: