You are not logged in.

#1 2018-11-10 20:19:58

zakrent
Member
Registered: 2017-05-22
Posts: 4

Wrong battery energy level

I'm using thinkpad e560 and for power management I'm using tlp, /sys/class/power_supply/BAT0/energy_now is returning false values for battery energy, I've measured its value every 2 seconds and plotted it and it looks like this:
https://image.ibb.co/fm4pCq/battery.png
what can I do to fix this problem?

Last edited by jasonwryan (2018-11-10 20:48:00)

Offline

#2 2018-11-10 20:48:21

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Wrong battery energy level

1. Read the Code of Conduct and only post thumbnails http://wiki.archlinux.org/index.php/Cod … s_and_code

2. Stop using TLP


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2018-11-10 21:09:53

zakrent
Member
Registered: 2017-05-22
Posts: 4

Re: Wrong battery energy level

jasonwryan wrote:

1. Read the Code of Conduct and only post thumbnails http://wiki.archlinux.org/index.php/Cod … s_and_code

2. Stop using TLP

Is this a problem with tlp? I've already got tlp set up and wouldn't want to change it if it's not a problem.

Offline

#4 2018-11-10 21:17:31

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Wrong battery energy level

Removing TLP will determine if it is a contributing factor.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2018-11-10 22:20:18

zakrent
Member
Registered: 2017-05-22
Posts: 4

Re: Wrong battery energy level

I belive it's working fine without tlp. My tlp stat output: https://ptpb.pw/eBZd.

Offline

#6 2018-11-10 22:23:51

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Wrong battery energy level

Yeah, TLP seems to cause more problems than it fixes. You can acheive the same thing by using systemd settings, service files and the like. Read the wiki page on Powertop https://wiki.archlinux.org/index.php/Powertop


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#7 2018-11-21 10:16:01

zakrent
Member
Registered: 2017-05-22
Posts: 4

Re: Wrong battery energy level

It still is an issue even when I removed tlp.

Offline

Board footer

Powered by FluxBB