Bug 207292 - Init a different environment when working on battery-mode
Summary: Init a different environment when working on battery-mode
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kdm
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdm bugs tracker
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-13 22:47 UTC by Alvaro Aguilera
Modified: 2018-04-16 20:20 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alvaro Aguilera 2009-09-13 22:47:43 UTC
Version:            (using KDE 4.3.1)
OS:                Linux
Installed from:    SuSE RPMs

I would like KDM to be aware of the power-status of my laptop. If the power cord is plugged in, then KDM should start KDE 4 as usual, but if the laptop is relaying on its battery, then it should start KDE3 or some other light-weight environment of my choice.
Comment 1 Lukas 2011-03-31 21:43:50 UTC
What if you unplug your cable during the work?

Idle KDE desktop on my  new laptop uses ~4%, on old ~7% CPU. So KDE is not the problem there. 

Either disable desktop effects, either set low power usage CPU mode, but that is different story and this bug can be closed :)
Comment 2 Alvaro Aguilera 2011-03-31 22:03:43 UTC
That is not what I meant at all. If the laptop is in battery mode, then I want the battery to last as long as possible and thus use something lightweight like Enlightenment or Xmonad. I can always select the environment I want in the combo box, but if I'm using autologon, then I have to log out first. This is not a bug, but a "wish". If nobody thinks it's useful then close it by all means.
Comment 3 Lukas 2011-03-31 22:19:46 UTC
Yeah, auto log in might be a problem here. Have you made any measurements, how long does the battery lasts with KDE4 and with KDE3/xfce or similar? (best if both situations, in idle and loaded (browsing web, doing office work etc))
Comment 4 Alvaro Aguilera 2011-04-03 19:48:47 UTC
I haven't done any measurements yet. Nevertheless the idle "plasma-desktop" process sometimes uses 90% of the CPU for several minutes without any apparent reason. Other KDE applications (like Dolphin) are also pretty wasteful with the resources under certain circumstances. I don't want to care about all that and just use a different, minimalist environment that might not be as comfortable, but where my battery lasts.
Comment 5 Nate Graham 2018-04-16 20:20:25 UTC
KDM is unmaintained and not used in KDE Plasma 5.

SDDM is the login manager used in KDE Plasma 5. If you still have this same issue with SDDM, please file an issue on the SDDM bugtracker (after doing a search for existing issues first!): https://github.com/sddm/sddm/issues/