General TC > General TC Talk

battery depleted too fast with just firefox + flwm

(1/5) > >>

nick65go:
in Tc11_x64, using just just minimum FLWM (windows manager) and Firefox 76.0.1 (64 bits).my battery is 2 years old; in Firefox just reading TEXT (like this forum) in maxim 2-3 tabs opened.

1. with wireless-network, battery depleted (from 100% until 3%) in 66 minutes. What? I did not believed. So I repeated the test again. I measured the capacity very 3 minutes (open aterm, give command, close aterm). The curve was LINEAR consumption. (in 70 minutes battery was 1% and linux stopped).
2. with wire-network (cable) battery depleted (from 100% until 7%) in 75 minutes. Still not good for me. So I break my bet to abandon win10; and I rebooted to test in win10
3. in WIN10, with wire-network (cable) battery depleted (from 100% until 10%) in 150 minutes! win10 has shut-down in 156 minutes (maybe at 5-7%). in win10 I just login and start firefox.

Summary: battery time in win10 versus tinycore was 2 times better in win10. It is craziness. Two bugs could be:
- radeon driver did NOT properly dynamically change the APU clock (evem if I told it dpm=1, aspm=1 etc); I have a AMD A6-6310 APU with AMD Radeon R4 Graphics
- firefox has a bug, even at low usage (reading html files).

curaga:
There are a number of things that default to "performance" in Linux, but which Windows changes to "battery save" when on battery. Screen brightness, gpu and cpu clocks... Powertop and other such tools can help you.

nick65go:
powertop is not in tcz repositories. It should be nice to have; or I will grab it from other distro.
With the brightness I solved, by direct input into  /sys/class/backlight/radeon_bl0/brightness;
I have an APU=cpu+gpu.I will play with /sys/module/radeon/parameter
--- Code: ---@box:/sys/module/radeon/parameters$ cat dpm
1
tc@box:/sys/module/radeon/parameters$ cat aspm
1
tc@box:/sys/module/radeon/parameters$ cat dynclks
1
tc@box:/sys/module/radeon/parameters$ cat cik_support
1
tc@box:/sys/module/radeon/parameters$ cat si_support
1
--- End code ---

do you have some hints about lower clock frequency places in /sys?like this:
--- Code: ---tc@box:/sys/module/pcie_aspm/parameters$ cat policy
[default] performance powersave powersupersave
--- End code ---

--- Code: ---root@box:/sys/module/pcie_aspm/parameters# echo powersupersave > policy
root@box:/sys/module/pcie_aspm/parameters# cat policy
default performance powersave [powersupersave]
--- End code ---

jazzbiker:
Hi, nick65go!

Since TC 4.x there are cpufreqd.tcz and cpufrequtils.tcz. I didn't used them, but seems that they are working directly with /sys/devices/system/cpu/cpuX/* files. Setting frequency min, max, governor. If You want to maximize battery life seems its time to use this tools.

Juanito:
The cli tool is cpupower as I recall..

Navigation

[0] Message Index

[#] Next page

Go to full version