internal/

directory
v0.5.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 17, 2026 License: MIT, MIT

Directories

Path Synopsis
Package ambient is the pure core of automatic brightness: the curve from room illuminance to backlight level, the smoothing of the illuminance, the hysteresis band, the gradual transition, the exposure bracketing of a camera estimate, and the rule deciding whether the backlight is still automatic brightness's to set.
Package ambient is the pure core of automatic brightness: the curve from room illuminance to backlight level, the smoothing of the illuminance, the hysteresis band, the gradual transition, the exposure bracketing of a camera estimate, and the rule deciding whether the backlight is still automatic brightness's to set.
Package autobright runs automatic brightness: it samples the room's light, smooths it, and carries the backlight along the curve in gradual steps, until someone else changes the backlight, which pauses it until Resume.
Package autobright runs automatic brightness: it samples the room's light, smooths it, and carries the backlight along the curve in gradual steps, until someone else changes the backlight, which pauses it until Resume.
Package camlight estimates the room's illuminance with a camera.
Package camlight estimates the room's illuminance with a camera.
Package config carries every path and tunable of lys-power, with environment overrides so tests and exotic setups can redirect the sysfs, state and runtime locations without recompiling.
Package config carries every path and tunable of lys-power, with environment overrides so tests and exotic setups can redirect the sysfs, state and runtime locations without recompiling.
Package daemon runs lys-power: one idempotent, side-effecting evaluation of power source, profile and charge thresholds, driven by events rather than a polling loop.
Package daemon runs lys-power: one idempotent, side-effecting evaluation of power source, profile and charge thresholds, driven by events rather than a polling loop.
Package history keeps the log of when the charger came out, which is the training data for the unplug-time prediction.
Package history keeps the log of when the charger came out, which is the training data for the unplug-time prediction.
Package lightsensor reads an IIO ambient light sensor through sysfs: in_illuminance_input in lux where the driver processes the value, else (in_illuminance_raw + in_illuminance_offset) × in_illuminance_scale as the IIO ABI defines it, an absent offset being 0 and an absent scale 1.
Package lightsensor reads an IIO ambient light sensor through sysfs: in_illuminance_input in lux where the driver processes the value, else (in_illuminance_raw + in_illuminance_offset) × in_illuminance_scale as the IIO ABI defines it, an absent offset being 0 and an absent scale 1.
Package predict estimates the next unplug time from the recorded history.
Package predict estimates the next unplug time from the recorded history.
Package profiles talks to power-profiles-daemon over the system bus, and decides which profile belongs on which power source.
Package profiles talks to power-profiles-daemon over the system bus, and decides which profile belongs on which power source.
Package statefile writes the manager's small state files atomically: a crash or power loss mid-write leaves the previous content in place, never a truncated file.
Package statefile writes the manager's small state files atomically: a crash or power loss mid-write leaves the previous content in place, never a truncated file.
Package supply reads and writes the kernel's power supply interfaces: AC presence from /sys/class/power_supply and the battery charge thresholds the embedded controller honors.
Package supply reads and writes the kernel's power supply interfaces: AC presence from /sys/class/power_supply and the battery charge thresholds the embedded controller honors.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL