Make BlueDevil tray icon only auto-hide when not on battery

Review Request #102678 - Created Sept. 22, 2011 and discarded

Information
Kai Uwe Broulik
bluedevil
Reviewers
bluedevil
afiestas
Sorry für not using the ReviewBoard the last time … (changed the BlueDevil behavior so it auto-hides also when all adapters are disabled, not only if there are actually none present)

This patch changes the behavior so it only hides if you are not running on battery. The adapter on my notebook still drains power when disabled only by software (i.e. clicking "Disable Bluetooth" in BlueDevil), I need to use Fn keys to hardware-side disable it. The icon will be dimmed however to indicate that all adapters are disabled.
Compiles and the icon is hidden by default on my machine when adapter is disabled.
Could not test it in a real environment so far, as I have not yet figured out to make Bluetooth work on Arch linux (the Fn key I need to press to turn it on does not work) but I will install Kubuntu again once Beta 2 is out, so I can then test it in a live environment.
Àlex Fiestas
Kai Uwe Broulik
Review request changed

Status: Discarded

Loading...