Is it possible to get an event when the phone is connected to TV? i'd like to reduce the brightness to minimum in such case to save battery.
dbus-scripts --debug --system