Monday, May 6, 2024
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 398  / 1 Year ago, mon, april 24, 2023, 5:37:40

I am new to Ubuntu/Linux, so please bear with me. I am using Ubuntu MATE on a laptop, and I'd like to optimize battery life as much as I can. I noticed that the Marco window manager can be set to have an adaptive compositor enabled or disabled. The only visual difference I can see is drop shadows being enabled when the compositor is enabled; but my question lies in battery life and performance. Will there be a difference in battery life when the compositor is enabled versus disabled? I found a stackoverflow question about compositor performance, but I don't believe it provides an answer to what I'm wondering.


More From » power-management

 Answers
3

Battery life may refer to (1) the time a single charge lasts (and you can extend that by lowering power consumption), or (2) the time you can use the battery until it needs replacement (a.k.a. Battery lifespan or lifetime).
It is not clear to me which of the two you were referring to.


Battery life


The point you are asking about is so specific that I doubt you would find any statement that answers your question.
But you can readily answer it yourself by measuring power consumption under the two conditions you mean to compare, and assessing whether there is any (meaningful) difference.
There are many alternatives, including powertop, powerstat, powerapi, s-tui, and Intel Power Gadget.


Going beyond your specific question, there are many other actions you can take to save battery life (e.g. this).


Battery lifespan


One important point to extend battery lifespan of Li-ion batteries is to avoid having it for a long time at 100% or 0% charge.
For that sake, there are several options (with tlp being a popular one, in particular for Battery charge thresholds), depending on your system.


Related:



  1. https://askubuntu.com/a/1313524/226614


[#1855] Tuesday, April 25, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ledeball

Total Points: 434
Total Questions: 121
Total Answers: 120

Location: Antigua and Barbuda
Member since Sat, Apr 24, 2021
3 Years ago
ledeball questions
Fri, Oct 7, 22, 00:32, 2 Years ago
Sun, Dec 18, 22, 05:49, 1 Year ago
Sat, Nov 19, 22, 06:15, 1 Year ago
Sat, Dec 3, 22, 07:59, 1 Year ago
;