Release Vulpes OS Preview 26 with Gecko 161.0 and Tundra 0.2.0

This commit is contained in:
OverSu 2026-12-01 22:22:00 +01:00
commit e241a42d2f

View file

@ -21,7 +21,8 @@ def sample():
for path in sorted(Path('/sys/class/power_supply').iterdir()):
supplies[path.name] = values(path, (
'type', 'status', 'online', 'capacity', 'current_now',
'voltage_now', 'power_now', 'charge_now', 'energy_now', 'temp'))
'voltage_now', 'power_now', 'charge_now', 'charge_counter', 'charge_full',
'charge_full_design', 'energy_now', 'temp'))
thermal = {}
for path in sorted(Path('/sys/class/thermal').glob('thermal_zone*')):
item = values(path, ('type', 'temp'))
@ -33,6 +34,8 @@ def sample():
if item:
idle[str(path.relative_to('/sys/devices/system/cpu'))] = item
return {'timeUnix': time.time(), 'timeMonotonic': time.monotonic(),
'timeBoottime': time.clock_gettime(time.CLOCK_BOOTTIME),
'brightness': values(Path('/sys/class/backlight/panel0-backlight'), ('brightness',)),
'powerSupplies': supplies, 'thermalZones': thermal, 'cpuIdle': idle}