Public bug reported:

Binary package hint: smartdimmer

I've added a udev script to auto-dim the back-light to 50% when the
charger is removed, and return it to 100% when the charger is attached.

The file is /etc/udev/rules.d/80-smartdimmer.rules

# NVidia backlight control using smartdimmer
# Copyright July 2008, TJ <[EMAIL PROTECTED]>
# Licensed under the GNU General Public License, v2

ACTION=="change", SUBSYSTEM=="power_supply", ATTR{type}=="Battery", 
ATTR{status}=="Discharging", RUN+="/usr/bin/smartdimmer -s 12"
ACTION=="change", SUBSYSTEM=="power_supply", ATTR{type}=="Battery", 
ATTR{status}=="Charging", RUN+="/usr/bin/smartdimmer -s 21"

** Affects: smartdimmer (Ubuntu)
     Importance: Wishlist
         Status: New

** Changed in: smartdimmer (Ubuntu)
   Importance: Undecided => Wishlist

-- 
Add udev rules to auto-dim panel when on battery power
https://bugs.launchpad.net/bugs/250355
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to