Bug 355921 - Energy Management Status on plasma as effect
Summary: Energy Management Status on plasma as effect
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: master
Platform: Kubuntu Linux
: NOR wishlist
Target Milestone: 1.0
Assignee: David Edmundson
URL: http://kshutdown.sourceforge.net/scre...
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-26 07:56 UTC by masterdany88
Modified: 2021-03-09 04:02 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:
masterdany88: VisualDesign+


Attachments
attachment-15206-0.html (3.04 KB, text/html)
2015-11-28 13:42 UTC, masterdany88
Details

Note You need to log in before you can comment on or make changes to this bug.
Description masterdany88 2015-11-26 07:56:36 UTC
I have problem with powers saving on my pc. I never know when is my pc about to sleep, and when power saving is holded by some application. On laptop it was easy, because my screen was dimming.
Now I use application: KSHUTDOWN (http://kshutdown.sourceforge.net/) to power down my pc in 2 hours for example, when I will fall asleep. When kshutdown is set to power down/suspend computer, it displays very small yellow progress bar on top edge of screen (1px of height I think) (see the screenshot: http://postimg.org/image/bq5u3fcd1/full/)

I think that can be realised by plasma itself.
KDE knows the power management settings. Base on them it should count when computer will be suspended(or off- it base on settings), and display this information as for example: progress bar (like it is done in kshutdown) or/and timer displayed.

When I move mouse or type on keyboard, the execution of shutting down pc is suspended until there will by no action on computer- so the progress bar/counter should be hidden. 
But when I do not work on pc, so it is about to suspend, it should display progress bar and timer (very small/minimum one).
When timer will reach for example last minute, the counter and progress bar should get full screen, that user could see that his pc is  about to sleep. The same could happen when computer is about to turn off the screen (if that is set up in power managment).

Reproducible: Couldn't Reproduce


Actual Results:  
Currently I don't see is my pc is about to suspend. I don't know is my current application is blocking it or not.

Expected Results:  
It should be some kind of information on plasma, that the power manager executes shouting down procedure.
Comment 1 Thomas Pfeiffer 2015-11-26 11:15:31 UTC
Interesting idea! 
I'm not sure if I correctly understand what you mean, though: Should the progress bar be shown immediately when the computer is inactive? 
If so, I think this is too much noise, because moments of inactivity happen all the time.
Starting a countdown some period before the actual auto-suspend/shutdown happens, on the other hand, does make sense, like e.g. one minute or 30 seconds before it happens.
Comment 2 Kai Uwe Broulik 2015-11-26 11:44:43 UTC
Note that 8 seconds before the machine will suspend or the screen will turn off, it will fade the screen to black, so you can Ninja-wiggle your mouse to prevent that from happening.
Comment 3 Ken Vermette 2015-11-26 16:43:59 UTC
This could be interesting as a complementary plasmoid which serves in a screen-lock/power-saving capacity aimed at desktop machines. This would also be handy for business users keeping an eye on power usage, and also fulfils the "simple by default" mantra in regards to those tasks, offering a faster route to adjust some of these settings.

You could have a system tray icon with a circular indicator displaying time remaining until a "session disrupting" event is triggered, such as screen-lock or power event; whichever comes first. The tooltip (and maybe a mini-icon?) would tell you which.

For the popup it could offer a few quick sliders to tweak the time for screen-lock and power events, suspend, etc. Maybe a buttons along the bottom for lock, logout, suspend, and power down.

I imagine to be a In the System tray it could be a circular graph indicating time-to-sleep/shutdown/lock.
Comment 4 masterdany88 2015-11-28 13:42:37 UTC
Created attachment 95784 [details]
attachment-15206-0.html

Hello. This is of course just an idea. I didn't thought about every aspekt
of it.
This idea becomes, when my wife waching movie on flash player, and pointing
me again, to turn off completely screen saver and power managment. which in
my mind is not a solution for that. New version of kde/kubuntu holds screen
saver for full screen app and html player which is great, but hard to know
is my computer is going to suspend. I have set 5 minutes for screen to go
off and session to lock. This is greate when I develope, but it is lame
setting for watching movie.
So... we need some kind of indicator for this. Maybe as kwin effect, maybe
as plasma widget (we already have energy managment widget- why not to
extend his usability for end user?).

I hope it will be introduced in near future.
I use kde from 3rd version, and I really like the way it is going to.
Thanks for Your job.

2015-11-26 17:43 GMT+01:00 Ken Vermette via KDE Bugzilla <
bugzilla_noreply@kde.org>:

> https://bugs.kde.org/show_bug.cgi?id=355921
>
> Ken Vermette <vermette@gmail.com> changed:
>
>            What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>                  CC|                            |vermette@gmail.com
>
> --- Comment #3 from Ken Vermette <vermette@gmail.com> ---
> This could be interesting as a complementary plasmoid which serves in a
> screen-lock/power-saving capacity aimed at desktop machines. This would
> also be
> handy for business users keeping an eye on power usage, and also fulfils
> the
> "simple by default" mantra in regards to those tasks, offering a faster
> route
> to adjust some of these settings.
>
> You could have a system tray icon with a circular indicator displaying time
> remaining until a "session disrupting" event is triggered, such as
> screen-lock
> or power event; whichever comes first. The tooltip (and maybe a mini-icon?)
> would tell you which.
>
> For the popup it could offer a few quick sliders to tweak the time for
> screen-lock and power events, suspend, etc. Maybe a buttons along the
> bottom
> for lock, logout, suspend, and power down.
>
> I imagine to be a In the System tray it could be a circular graph
> indicating
> time-to-sleep/shutdown/lock.
>
> --
> You are receiving this mail because:
> You reported the bug.
>
Comment 5 Nate Graham 2021-03-09 04:02:59 UTC
This should be fixed now:

1. As Kai said, the screen dims before sleep, alerting you

2. You can now see power management inhibitions in the Battery & Brightness applet.