----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: http://git.reviewboard.kde.org/r/108894/ -----------------------------------------------------------
(Updated May 11, 2013, 10:10 p.m.) Status ------ This change has been discarded. Review request for Solid. Description ------- This draft patch is for adding a Battery OSD the user can trigger using Meta+B any time to show the battery percentage anytime without disrupting the workflow. My usecase for this is when I am watching fullscreen flash videos, they cause quite some drain on battery, but when I want to look how much battery is left, I have to either leave fullscreen and peak, or (as I do) press some shortcut assigned to the battery widget. Both will cause the fullscreen to exit. Even more useful when playing a fullscreen game that you don't want (or can) to leave. This adds a little OSD similar to the brightness OSD that shows the battery percentage when the user presses Meta+B. This patch is draft because I first wanted to know your opinion on this before I start completing it (ie. showing the battery icon in the same way the battery widget does), atm it's the brightness icon. Diffs ----- powerdevil/daemon/powerdevilcore.h dd5d674 powerdevil/daemon/powerdevilcore.cpp 6be6a8b powerdevil/daemon/actions/bundled/brightnesscontrol.cpp 323905d powerdevil/daemon/actions/bundled/keyboardbrightnesscontrol.cpp 8249b17 powerdevil/daemon/brightnessosdwidget.h 40166d4 powerdevil/daemon/brightnessosdwidget.cpp 1474018 powerdevil/daemon/powerdevilbackendinterface.h 00ccada Diff: http://git.reviewboard.kde.org/r/108894/diff/ Testing ------- When I press Meta+B I get an OSD showing my current battery percentage. File Attachments ---------------- Battery OSD http://git.reviewboard.kde.org/media/uploaded/files/2013/02/10/batteryosd.png Thanks, Kai Uwe Broulik
_______________________________________________ Kde-hardware-devel mailing list [email protected] https://mail.kde.org/mailman/listinfo/kde-hardware-devel
