dual boot – Kubuntu battery drain even with TLP

I was exited to try kubuntu in dual boot with windows 10. But it makes my battery life less than windows 10, even with tlp installed and windows charge capped at 60%, low brightness and prime-selec intel already enabled. Windows at 60% lasts for 4hrs and linux at 70% last for around 3:30. Am I misconfiguring something? Also linux shows that my
battery health is decresing, after only one week it went from 97% to 91% .

Windows 10

Kubuntu 21.04

Kernel 5.11.0-16-generic

Asus Zephyrus G15 Nvidia GTX 2080

Any help would be appreciated as i am new to linux. Thanks

flash – Is it necessary to fully drain Ni-MH batteries before recharging them?

Is it really necessary to fully drain the Ni-MH batteries before recharging them?

Depends on your charger.

If you have a charger that detects the end of the charge from negative delta-V (a slight drop in voltage as a function of time) or temperature, it’s actually beneficial not not drain the batteries fully.

The most optimal state of charge for a battery to work is its middle region. For example, in Toyota hybrids, the nickel metal hydride battery pack experiences a cycle in approximately two kilometers. Thus, in 300 000 km city driving, the battery pack has experienced 150 000 cycles. There are Toyota hybrid taxis operating in densely populated cities that never see any rural driving. In 150 000 cycles, the batteries are working just fine.

The secret? Toyota hybrid batteries operate only in their middle state of charge region. They are never fully charged and never fully discharged. They probably barely use 50% of the state of charge of the battery.

The chargers that have advanced end of charge detection methods are typically fast. Two reasons for this are that (1) for slow charging (10-20 hours) the negative delta V and increasing temperature effects are so slow an unreliable you can’t reliably stop a charge using these methods, and (2) for fast charging these methods are necessary of else the battery would have an unacceptable lifetime.

Sadly, today slow chargers with timed end of charge are still sold. In some cases, buying a name brand battery such as Sanyo Eneloop in a battery + charger set can have a slow timed charger. So by buying a charger from the maker of very best NiMH batteries is not a guarantee for getting a decent charger.

If you have such a slow timed charger, you should be aware of two problems:

  1. If you experience power blackouts often, the timer resets so the battery overcharges often.
  2. If you recharge a battery that is not completely flat often, the battery overcharges often.

The reason this is not a huge problem is that you maybe get 100 maybe 200 cycles even when torturing a battery in this manner. Some people might be satisfied with 100-200 cycles.

For such slow timed chargers, the optimal way to charge is to first completely drain the battery and only then recharge.

For any decent charger (2-4 hours) having a negative delta-V + temperature end of change detection, there’s no need to fully drain. In fact, fully draining limits the cycle life of the battery.

For lithium ion, it is impossible to do timed slow charge (the battery would probably overheat and explode), so lithium ion batteries do not have the problem of some chargers being very poor. All officially sold Li-Ion chargers work just fine.

My recommendation: buy only 2-4 hours chargers from name brand battery makers like Sanyo. They are guaranteed to have end of charge detection.

About the memory effect: the memory effect in Ni-Cad batteries is only observed if the battery is cycle all the time to exactly the same state of charge, day after day after day. Happens only in satellites. Practically never happens for terrestrial battery use.

When battery users saw their Ni-Cad batteries that were not fully discharged prior to recharging have an unacceptable cycle life, they attributed this to the memory effect. This is false! This is not a memory effect. This is the effect of overcharging happening in a slow timed charger.

A charger having proper end of charge detection would not damage batteries in this manner. NiMH does not have a memory effect, but it still suffers from overcharging exactly like Ni-Cad. Do not use these poor timed slow chargers! Not for NiMH, not for Ni-Cad.

android 11 – Battery drain while doze, CPU abort wakeups

I’m running Android 11, in a Moto G30.

I’ve noticed battery drains from 100% to 80% from 1am to 9am when I wake up. I decided to get a bugreport.zip using ADB and load it in Battery Historian.

Seems like at some point in the night, JobScheduler runs and finishes in a minute, but CPU stays on forever (even on full doze state). Reasons seem to be several Abort:Pending Wakeup Sources related to networking. At these point, battery discharge rate is ~2.5% per hour, whereas “normal” screen-off / doze rate is ~1.5%.

These are some screenshots, and here’s the bugreport.zip

enter image description here

Here’s the CPU wakeup sources list,
enter image description here

And here’s a previous time when JobScheduler runs and CPU behaved well,

enter image description here

MacBook Air M1 battery drain when sleeping

My new Macbook Air(M1 Chip, Big Sur 11.1) uses a lot of the battery during sleep mode I talked with apple support regarding this issue and I have been told to reinstall macOS. I reinstalled macOS and the issue has been left. Again I called them and they told me I should give the laptop to one of MacBook resellers to check the computer. I gave my new MacBook to Macfroum and I received this answer after five days: ” The Battery drain somewhat when in sleep mode, but nothing out of the specifications Apple has published. Apple diagnostics report no issue with the battery.” However, Macfroum thinks drain battery 1% percentage every hour is normal!!!. I called Apple support again and they recommended asking Macfroum to reinstall the OS via Apple Configurator 2. Macfroum restored the firmware, erased, and reinstalled the OS via Apple Configurator 2. I checked again the computer and I had the same issue look at the following picture. All applications were closed and did not install any program on the laptop. I compare it with my old MacBook Air and the old one just lost 2 % battery with many open applications. I had the issue from the first day that I bought this new MacBook Air(M1) and it is around two weeks I am trying to fix it and had contact with Apple to fix the issue.

enter image description here

power management – TLP does not drain battery when using thresholds

I’m using Thinkpad T460 with Debian Buster.

I installed tlp and set the battery thresholds to start charging at 75% and stop at 85%.

# Battery charge thresholds (ThinkPad only, tp-smapi or acpi-call kernel module
# required). Charging starts when the remaining capacity falls below the
# START_CHARGE_THRESH value and stops when exceeding the STOP_CHARGE_THRESH value.
# Main / Internal battery (values in %)
# Ultrabay / Slice / Replaceable battery (values in %)

It works fine except that it doesn’t start discharging when reaches the threshold limit. The charging stops but it stuck at 85% and never gets below. It seems it uses AC only when reached the limit.

Am I misunderstanding the thresholds’ behaviour, or this is just a bug?

a real company or are they going down the drain?

I have used CheapDomain for many years, even though they every now and again have overcharged, and then it has been H… on earth to get in touch with them, in writing or per phone.

Now it’s the same problem, in May 2020 they sent me an email that they had overcharged. Since then, I have tried to get in contact with them – without any luck.

You cannot mail them, that doesn’t work at all – the phone number they have on their web, doesn’t exist?

So, I am really beginning to doubt that company.

Are there anyone here, that would know, how to get in contact with them, or are they simply going down the drain, and I will have to find another company for my Domains ? Thank you in advance for any help you can provide regarding above.


used iphone 8 plus charged battery drain

I have bought an used iphone 8 plus yesterday. It s working all right after some testing, before I I got to sleep, I charged it 100%, when I woke up today I found it 80%. I find it completely not normal, what might I check to see what s the problem so I can contact the seller?

dnd 3.5e – Do I lose access to a feat if ability drain results in no longer meeting the prerequisite?

Do curses or ability damage/drain cause a character to be unable to use his feats?

For example, a Ranger with 20 Dex who has two-weapon-fighting feats and is using two weapons gets cursed or ability drained and his Dex drops to 14. Does that cause the character not to be able to use his two-weapon feats (which have a requirement of at least 15 Dex)?

What about his other feats that have prerequisites of blocked feats? (As another example: a fighter with the Whirlwind Attack feat, which requires Combat Expertise gets an INT penalty that drops his INT under 13, a prerequisite of Combat Expertise). I think that he can no longer use his Combat Expertise feat (because of low INT) and also Whirlwind Attack and any other feats that require Combat Expertise. Is that right?

I guess it is better to clarify the reason I am asking.

First of all, there are so many books, and there are too many authors that create them and test them. Many bugs are uncovered due to that reason. It is quite hard to keep track of all these things. I know that.

The reason for the question is, for higher-level builds, skill, feat, class, prestige class, template and ability score choices become more important. And there are casters, whose main combat skills depend on spells (clerics, sorcerers, and wizards, especially). Maybe druids can deal with key ability score penalties, and clerics may try to survive such conditions. Wizards and sorcerers have less of a chance when their key ability score drops. A curse may cause them to be without magic (or with some weak spells) if they fail to resist it. They probably have higher Will saves, but they all have the chance.

And I am trying to be sure about the situation of a warrior-based class, because feats mean a lot to them. So what happens when they get cursed? Failure to be able to use a key feat is important, but not as much as a wizard who is unable to cast spells.

Related FAQ answer is not enough about this situation (the following part)

A feat sometimes requires you to have a certain ability
score, which is the case with Two-Weapon Fighting (it
requires Dex 15). A character has, say, Dex 13, but wears
an item, in this case gloves of Dexterity +2, and now her Dex
score is 15. Can she take the feat and have it be active only
when she wears the item?

Actually yes, she could take the feat, but she would lose the
use of the feat if, for whatever reason, she loses the bonus from
the item.

So, still looking for something more satisfactory.

UPDATE: @LitheOhm’s answer:

Players Handbook:

Two-Weapon Fighting
Prerequisite: Dex 15.

Complete Adventurer

Oversized Two-Weapon Fighting
Prerequisite: Str13, Two-Weapon Fighting

I wish to clarify that, I just wish to be sure about what to do in such situation. That is just an example and probably being able to use Oversized Two-Weapon Fighting feat will not save the character while he could not use basic Two-Weapon Fighting feats due to Lowered DEX. But I still wonder, whether he could still use Oversized Two-Weapon Fighting.

Of course there could be some other feats which fits that situation. That is just one I noticed.

shadowrun sr5 – A sustained spell should require multiples drain resistance checks?

We are playing a Shadowrun 5 campaign. When a mage cast a spell, it should roll a Drain resistance check. The GM is requiring multiple drain checks, one for each turn the mage sustain the spell (in case of sustained spells). But I don’t think that a spell requires multiples checks, just one right after casting the spell. What’s the correct rule?

ram – How to investigate/solve Google Play Store high memory usage (-> high CPU -> battery drain)?

Ever since my (not-rooted stock Android) Nokia 6.1 phone was upgraded to Android 10, last January, I have a performance issue with it: A couple of times per day it becomes near or completely unusable, often permanently until a hard restart. Also this causes high battery usage.

However, using a battery analysis app didn’t turn up any specific suspect.

Recently I discovered adb shell, and when the phone starts behaving badly,

  • top showed me that the CPU-hogging process at such moments is kswapd:
Tasks: 681 total,   1 running, 680 sleeping,   0 stopped,   0 zombie
  Mem:      2.6G total,      2.4G used,      198M free,       11M buffers
 Swap:      1.0G total,      1.0G used,      112K free,      311M cached
800%cpu  38%user  10%nice  52%sys 684%idle  10%iow   2%irq   4%sirq   0%host
 1739 system       18  -2 7.9G 144M  47M S 12.3   5.2  13:37.24 system_server
  148 root         20   0    0    0    0 S  8.6   0.0   3:50.15 (kswapd0)
  564 logd         30  10 168M  10M 0.9M S  7.3   0.3   1:11.69 logd
28119 shell        20   0  35M 3.1M 1.7M R  5.0   0.1   0:00.45 top
  705 root         20   0 5.1G  44M  24M S  5.0   1.6   0:54.88 zygote64
  • top -s 6 (sorts by memory use, RES) showed me that the main memory-using process at such moments is com.android.vending (= Google Play Store).
Tasks: 690 total,   1 running, 689 sleeping,   0 stopped,   0 zombie
  Mem:      2.6G total,      2.4G used,      180M free,       17M buffers
 Swap:      1.0G total,      0.9G used,      2.1M free,      412M cached
800%cpu   9%user   3%nice  13%sys 772%idle   1%iow   2%irq   1%sirq   0%host
 5296 u0_a105      20   0 2.1G 472M  24M S  0.0  17.2   1:18.80 com.android.vending
 1739 system       18  -2 7.9G 150M  53M S  3.0   5.4  13:12.22 system_server
 2233 u0_a111      20   0 6.1G 108M  56M S  0.6   3.9   2:03.84 com.android.systemui
 7120 u0_a161      20   0 7.7G  93M  45M S  0.6   3.4   8:22.83 com.google.android.youtube
 2931 u0_a90       20   0 5.9G  83M  36M S  0.0   3.0   3:05.21 com.google.android.gms.persistent
26244 u0_a90       20   0 5.2G  74M  39M S  0.0   2.7   0:02.38 com.google.android.gms.ui

(Side note. That seems to explain why battery analysis didn’t help: Presumably kswapd CPU usage is ascribed to general kernel processing, not to this specific app.)

And that app is really the cause: Stopping that Google Play Store process (e.g., using am force-stop com.android.vending) quickly brings performance back to normal levels.

As a workaround, I tried to disable automatic updates in Google Play Store, and that seems to have improved things a little, but the issue is definitely still there.

So now, as another workaround, a couple of times per day I hard-stop that application, which helps to prevent it usually.

My vague question is: How to I get further with this issue?

  • Is this a known issue that has already been reported somewhere? Is the cause known? (E.g., is this triggered by the Google Play Store app detecting updates?)
  • Can I report it to Nokia in some bug tracker? Can I report it to Google somewhere?
  • What kind of additional information/dumps/logs would help to investigate this further?
  • Are there any other/better workarounds? (Disable some feature, go back to an older version of Google Play Store, clear some cache or force something to be regenerated, whatever…)
  • Is there some way to automate the workaround I currently have? (I’m already using Automate for some other things, but any automated solution apparently requires my device to be rooted.)

(Note that my device is not rooted, and I would like to try to keep it that way. But I will consider rooting it, if there some kind of solution or workaround that requires that.

If it helps, phone model is TA-1043, currently running build number 00WW_4_10C_SP04.)