mirror of
https://github.com/Phantop/phantop.github.io.git
synced 2024-12-26 15:08:06 +00:00
Frame.work laptop battery info
This commit is contained in:
parent
8862725d61
commit
f3e52be48d
2
index.md
2
index.md
|
@ -28,4 +28,6 @@
|
|||
|
||||
[audiomass](audiomass/src)
|
||||
|
||||
[laptop battery](reads/battery.md)
|
||||
|
||||
[survival-manual](survival/Home)
|
||||
|
|
21
reads/battery.md
Normal file
21
reads/battery.md
Normal file
|
@ -0,0 +1,21 @@
|
|||
[Source](https://community.frame.work/t/battery-life/861/12)
|
||||
|
||||
For Linux you have much more control if you wanted to control the power envelope yourself. you can use the sysfs interface for the intel-rapl driver to adjust the power limits:
|
||||
Eg you can set your PL1 (long term) and PL2 (short term) power limits in uW:
|
||||
echo 1 > /sys/class/powercap/intel-rapl:0/enabled
|
||||
#PL1
|
||||
echo 28000000 > /sys/class/powercap/intel-rapl:0/constraint_0_power_limit_uw
|
||||
#PL2
|
||||
echo 64000000 > /sys/class/powercap/intel-rapl:0/constraint_1_power_limit_uw
|
||||
|
||||
From what I have found there is not a good way for the major window managers to control power profiles that are built into gnome/kde/etc. But it would be interesting to explore more.
|
||||
You can read about the interface here, it is pretty cool because you can also use this to monitor power usage too:
|
||||
https://www.kernel.org/doc/html/latest/power/powercap/powercap.html
|
||||
|
||||
There are a few mentions of intel projects for linux.
|
||||
|
||||
https://01.org/linux-thermal-daemon/documentation/introduction-thermal-daemon
|
||||
|
||||
https://github.com/intel/dptf
|
||||
|
||||
https://01.org/blogs/2014/running-average-power-limit-%E2%80%93-rapl
|
|
@ -70,6 +70,10 @@
|
|||
|
||||
[Command Line Interface Guidelines](https://clig.dev/)
|
||||
|
||||
[Compression Comparison](https://linuxreviews.org/Comparison_of_Compression_Algorithms)
|
||||
|
||||
[Insane Compression Comparison](http://mattmahoney.net/dc/text.html)
|
||||
|
||||
## Qemu
|
||||
|
||||
[Drew Devault's Getting Started](https://drewdevault.com/2018/09/10/Getting-started-with-qemu.html)
|
||||
|
|
Loading…
Reference in a new issue