Make BlueDevil tray icon only auto-hide when not on battery
Review Request #102678 - Created Sept. 22, 2011 and discarded
|Kai Uwe Broulik|
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.
Is true that we have to take a moment and think again how we handle: 1-Hardware killed device 2-Software killed device 3-rfkill killed device But I don't think that we should relate at all (at least not at the moment) Bluetooth and the AC status. Lately I have been thinking on removing (by default) the Bluetooth icon from the systray but that needs more thinking. So if you are still interested on improving this situation, we can have an irc meeting about this or discuss it in kde-hardware-devel.