Written by punischdude the 27 Apr 08 at 13:21.
Related project: Compiz.
Status: New
Rationale
In view of power consumption desktop effects should be disabled when a laptop is on battery power and, if they were enabled on AC power, be enabled on AC power again.
You'd want to check there's actually a measurable advantage first. Even then, it may be better to stay in the compiz window manager, but have a mode to turn off power consuming effects.
I checked it out in the way I use my laptop, I dont need to turn off the effects. Usually I read a website or some pdf.
I think the proper way would be to make a plugin for compiz which decides what to do in battery vs. non. May be even have two completely different configurations for the two or more modes. May be have a drop down in each plugin where you can pick the mode and the settings that go along with it.
There are utilities and scripts out there to toggle compiz on and off. These tend to be the tailored to the needs of gamers who frequently run compiz-incompatible programs yet have an insatiable hankering for eye candy when in-between gaming sessions.
Pairing up one of these toggling implementations with something that monitors the laptop battery might be a good place to start. It shouldn't be very hard for the impatient to rig up some kind of script to accomplish this.
I really like this idea and what impress me most is that it was submitted in 2008 (almost 2 years old now)! I think it would be more than enough time to implement it specially now that power consumption and efficiency is on the hype! Windows Vista SP2 has something like it implemented already but probably Ubuntu could have it first if only we, users, wanted it.
Please vote on my solution. Doesn't matter what your vote is as long as this topic get more attention. LET"S REVIVE THIS!
i am wondering that there is no post where someone tells us a solution for this
seems that this is not easy to implement
but i mean for me as a non programmer and with a little linux knowledge ... there is some action whitch turns on the battery symbol and the display brightness (witch is not customable and too dark i think btw)
there must be a trigger we can use for "metacity --replace" and "compiz --replace"