Skip to content

Frugal Writes

Latest
Compare
Choose a tag to compare
@digitaltrails digitaltrails released this 09 May 02:14
· 2 commits to master since this release
  • Reduce the number of writes to VDU NVRAM by sliders, spinners, and ambient brightness adjustments.
    • Slider and spin-box controls now only update the VDU when adjustments become slow or stop (when
      the control value remains constant for 0.5 seconds).
    • Spin-Boxes now select the entire text on focus in (enables easier overtyping and decreases VDU updates).
    • Ambient lighting initiated changes in brightness of up to 20% are applied without any transitional
      steps (plus the existing code ignores updates of less than 10%).
    • Set the default ambient-light brightness adjustment-interval to 5 minutes.
  • React to DPMS awake signal from ddcutil-service by re-assessing ambient brightness.
  • Simplified locking and conformed to a lock hierarchy to avoid deadlocks.

This release is in part a response to the announced future direction for KDE6 PowerDevil where VDU DDC updates are to be minimised out of concern for VDU life span. I'm unsure how seriously to regard these concerns, but I've put in place several measures to reduce DDC updates.