Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 112 lines (68 sloc) 2.807 kb
64d88a1 @fenrus75 add internationalisation support
authored
1
2
3
4 Building & Installing PowerTOP
5 ------------------------------
6
7 just type
8
9 make
10 make install
11
12
13
14
15 Build dependencies
16 ------------------
17
18 PowerTOP uses C++, and expects g++ and libstdc++ to be functional
19
20 in addition to that, it needs the following components:
21
22 pciutils-devel
23 ncurses-devel
24 zlib-devel
eb2e1a0 @fenrus75 Add a tunable for wireless power saving
authored
25 libnl-devel
64d88a1 @fenrus75 add internationalisation support
authored
26
27 and a functional glibc/pthreads development environment
6db164d @fenrus75 more text
authored
28
29
30
687eb8d README: add needed kernel options
Henry Gebhardt authored
31 Kernel Parameters:
32 ------------------
33
34 PowerTOP needs some kernel config options enabled in order function properly.
35 As of linux-3.3.0 these are (list probably incomplete):
36
37 CONFIG_NO_HZ
38 CONFIG_HIGH_RES_TIMERS
39 CONFIG_HPET_TIMER
40 CONFIG_CPU_FREQ_GOV_ONDEMAND
41 CONFIG_USB_SUSPEND
42 CONFIG_SND_AC97_POWER_SAVE
43 CONFIG_TIMER_STATS
44 CONFIG_PERF_EVENTS
45 CONFIG_PERF_COUNTERS
46 CONFIG_TRACEPOINTS
47 CONFIG_TRACING
48 CONFIG_EVENT_POWER_TRACING_DEPRECATED
49
50 The patches in the patches/ subdirectory are required for PowerTOP to function
51 fully.
52
53
54
6db164d @fenrus75 more text
authored
55 Outputting a report
56 -------------------
57 When invoking PowerTOP without arguments, it goes into interactive mode.
58 However, for reporting bugs etc there is a special reporting mode:
59
60 powertop --html
61
62 which will create a "powertop.html" file which is static and can be sent to
63 others to help diagnose power issues.
64
99f24ee powertop: generate valid HTML report
Márton Németh authored
65 Note for the developers: if you make changes on the report format please
66 make sure that the output can be cleanly validated by the W3C Markup
67 Validation Service and W3C CSS Validation Service:
68 * http://validator.w3.org/#validate_by_upload
69 * http://jigsaw.w3.org/css-validator/#validate_by_upload
6db164d @fenrus75 more text
authored
70
71
72 Calibrating & Power Numbers
73 ---------------------------
74 PowerTOP will, when running on battery, track your power consumption as well
75 as your activity on the system. Once there are sufficient such measurements,
76 PowerTOP can start to report power estimates for various activities.
77 You can help get this estimation more accurate by running a calibration
78 cycle:
79
80 powertop --calibrate
81
82 at least once; this will cycle through various display brightness levels
83 (including "off") as well as USB device activities and some other workloads.
84
85
86
fc0eae5 @fenrus75 mention the iw code in the README
authored
87
88
89 Code from other open source projects
90 ------------------------------------
91 PowerTOP contains some code from other open source projects; we'd like to
92 thank the authors of those projects for their work.
93 Specifically PowerTOP contains code from
94
95 nl80211 userspace tool - Copyright 2007, 2008 Johannes Berg <johannes@sipsolutions.net>
96
97
a051925 @fenrus75 more Extech integration
authored
98
99
100 Extech Power Analyzer / Datalogger support
101 ------------------------------------------
102 I use, and our analysis teams use, the Extech Power Analyzer/Datalogger
103 (model number 380803) quite a lot, and PowerTOP supports using this
104 device over the serial cable. Just pass the device node on the command line
105 like this
106
107 powertop --extech=/dev/ttyUSB0
108
109 (where ttyUSB0 is the devicenode of the serial-to-usb adapter on my system)
110
111
Something went wrong with that request. Please try again.