Remove thoroughly obsolete powermanager module from guidance

pull/2/head
Timothy Pearson 10 years ago
parent d28ae74d21
commit faf34a76a3

@ -1,3 +1,5 @@
- Remove thoroughly obsolete powermanager tool
- Remove thoroughly obsolete displayconfig tool
- Handle "ain't got no cpufreq" more gracefully (Malone bug # 99198)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 564 B

@ -1,982 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://web.resource.org/cc/"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="128"
height="128"
id="svg1307"
sodipodi:version="0.32"
inkscape:version="0.44+devel"
version="1.0"
sodipodi:docbase="/home/kwwii/Desktop/actions"
sodipodi:docname="power-manager.svg"
inkscape:export-filename="/home/kwwii/Desktop/tempsvn/powermanager/icons/power-manager-64.png"
inkscape:export-xdpi="45"
inkscape:export-ydpi="45"
inkscape:output_extension="org.inkscape.output.svg.inkscape"
sodipodi:modified="true">
<defs
id="defs1309">
<linearGradient
id="linearGradient13461">
<stop
style="stop-color:#fd0;stop-opacity:1;"
offset="0"
id="stop13463" />
<stop
style="stop-color:#e3ad00;stop-opacity:1;"
offset="1"
id="stop13465" />
</linearGradient>
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient13461"
id="radialGradient13467"
cx="64"
cy="64.968025"
fx="64"
fy="64.968025"
r="19.72229"
gradientTransform="matrix(1.611098,0,0,3.009366,-79.1103,-131.5445)"
gradientUnits="userSpaceOnUse" />
<linearGradient
inkscape:collect="always"
id="linearGradient3846">
<stop
style="stop-color:#590000;stop-opacity:1;"
offset="0"
id="stop3848" />
<stop
style="stop-color:#590000;stop-opacity:0;"
offset="1"
id="stop3850" />
</linearGradient>
<linearGradient
inkscape:collect="always"
id="linearGradient3832">
<stop
style="stop-color:white;stop-opacity:1;"
offset="0"
id="stop3834" />
<stop
style="stop-color:white;stop-opacity:0;"
offset="1"
id="stop3836" />
</linearGradient>
<linearGradient
inkscape:collect="always"
id="linearGradient3822">
<stop
style="stop-color:white;stop-opacity:1;"
offset="0"
id="stop3824" />
<stop
style="stop-color:white;stop-opacity:0;"
offset="1"
id="stop3826" />
</linearGradient>
<linearGradient
id="linearGradient2895">
<stop
style="stop-color:white;stop-opacity:1;"
offset="0"
id="stop2897" />
<stop
style="stop-color:white;stop-opacity:0;"
offset="1"
id="stop2899" />
</linearGradient>
<linearGradient
id="linearGradient2877">
<stop
style="stop-color:#390000;stop-opacity:1;"
offset="0"
id="stop2879" />
<stop
style="stop-color:#970000;stop-opacity:0;"
offset="1"
id="stop2881" />
</linearGradient>
<linearGradient
inkscape:collect="always"
id="linearGradient3164">
<stop
style="stop-color:white;stop-opacity:1;"
offset="0"
id="stop3166" />
<stop
style="stop-color:white;stop-opacity:0;"
offset="1"
id="stop3168" />
</linearGradient>
<linearGradient
inkscape:collect="always"
id="linearGradient3140">
<stop
style="stop-color:white;stop-opacity:1;"
offset="0"
id="stop3142" />
<stop
style="stop-color:white;stop-opacity:0;"
offset="1"
id="stop3144" />
</linearGradient>
<linearGradient
inkscape:collect="always"
id="linearGradient3082">
<stop
style="stop-color:black;stop-opacity:1;"
offset="0"
id="stop3084" />
<stop
style="stop-color:black;stop-opacity:0;"
offset="1"
id="stop3086" />
</linearGradient>
<linearGradient
id="linearGradient3041">
<stop
id="stop3043"
offset="0"
style="stop-color:#303030;stop-opacity:1;" />
<stop
style="stop-color:#555;stop-opacity:1;"
offset="0.11538462"
id="stop3045" />
<stop
id="stop3053"
offset="0.26590282"
style="stop-color:#3b3b3b;stop-opacity:1;" />
<stop
style="stop-color:#646464;stop-opacity:1;"
offset="0.28553563"
id="stop3057" />
<stop
style="stop-color:#7b7b7b;stop-opacity:1;"
offset="0.43724003"
id="stop3055" />
<stop
style="stop-color:#888;stop-opacity:1;"
offset="0.69156802"
id="stop3047" />
<stop
id="stop3049"
offset="0.90384614"
style="stop-color:#747474;stop-opacity:1;" />
<stop
id="stop3051"
offset="1"
style="stop-color:#5d5d5d;stop-opacity:1;" />
</linearGradient>
<linearGradient
inkscape:collect="always"
id="linearGradient2916">
<stop
style="stop-color:white;stop-opacity:1;"
offset="0"
id="stop2918" />
<stop
style="stop-color:white;stop-opacity:0;"
offset="1"
id="stop2920" />
</linearGradient>
<linearGradient
inkscape:collect="always"
id="linearGradient2874">
<stop
style="stop-color:#414141;stop-opacity:1;"
offset="0"
id="stop2876" />
<stop
style="stop-color:#414141;stop-opacity:0;"
offset="1"
id="stop2878" />
</linearGradient>
<linearGradient
id="linearGradient2858">
<stop
style="stop-color:#303030;stop-opacity:1;"
offset="0"
id="stop2860" />
<stop
id="stop2863"
offset="0.05769231"
style="stop-color:white;stop-opacity:0.59215689;" />
<stop
id="stop2868"
offset="0.11538462"
style="stop-color:#4b4b4b;stop-opacity:0.18431373;" />
<stop
id="stop2866"
offset="0.69156802"
style="stop-color:black;stop-opacity:0;" />
<stop
style="stop-color:black;stop-opacity:0.09747292;"
offset="0.90384614"
id="stop2870" />
<stop
id="stop2867"
offset="0.95192307"
style="stop-color:white;stop-opacity:0.54509807;" />
<stop
style="stop-color:#5d5d5d;stop-opacity:1;"
offset="1"
id="stop2862" />
</linearGradient>
<linearGradient
inkscape:collect="always"
id="linearGradient3291">
<stop
style="stop-color:#000000;stop-opacity:1;"
offset="0"
id="stop3293" />
<stop
style="stop-color:#000000;stop-opacity:0;"
offset="1"
id="stop3295" />
</linearGradient>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3164"
id="linearGradient3170"
x1="73.511299"
y1="1"
x2="73.511299"
y2="5.7553549"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.672581,0,0,1.903227,22.30711,6.096774)" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3846"
id="linearGradient3852"
x1="10.073669"
y1="18.5"
x2="13.3511"
y2="18.5"
gradientUnits="userSpaceOnUse"
spreadMethod="reflect" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient3291"
id="radialGradient3163"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1,0,0,0.197802,0,92.82166)"
cx="63.912209"
cy="115.70919"
fx="66.022942"
fy="115.70919"
r="63.912209" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3041"
id="linearGradient3165"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(5.390888,0,0,5.390888,53.1978,7.426068)"
x1="1.4227993"
y1="1.022699"
x2="5.5960732"
y2="1.022699" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3082"
id="linearGradient3167"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(5.390888,0,0,5.390888,53.1978,7.426068)"
x1="6.4523492"
y1="-2.8016193"
x2="5.5593128"
y2="1.0485095" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3822"
id="linearGradient3169"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(6.07834,0,0,5.82831,6.789136,0)"
x1="11.434079"
y1="1.0289581"
x2="11.174653"
y2="2.2792649" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3082"
id="linearGradient3171"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(5.390888,0,0,5.390888,53.1978,7.426068)"
x1="5.6568542"
y1="6.0850325"
x2="5.6568542"
y2="1.4639859" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2858"
id="linearGradient3173"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.084878,0,0,0.961444,23.50461,6.682619)"
x1="18.01074"
y1="65.760353"
x2="72.498932"
y2="65.760353" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2874"
id="linearGradient3175"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.069646,0,0,0.962358,24.70483,6.672295)"
x1="69.07917"
y1="1.0128831"
x2="63.575024"
y2="39.769947" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2916"
id="linearGradient3177"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.545256,0,0,0.962358,56.01045,6.672295)"
x1="38.875084"
y1="67.528122"
x2="90.409752"
y2="67.528122" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2874"
id="linearGradient3179"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.083993,0,0,0.84067,23.52057,-131.7705)"
x1="63.948738"
y1="-163.6496"
x2="43.918915"
y2="54.970299" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2874"
id="linearGradient3181"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.085374,0,0,0.865765,23.49566,-132.0539)"
x1="43.918915"
y1="7.8450942"
x2="43.918915"
y2="15.315003" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient3140"
id="radialGradient3183"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.055718,0,0,1.666364,0.815341,73.26644)"
cx="68.000046"
cy="-117.34602"
fx="68.000046"
fy="-117.34602"
r="27.999956" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2895"
id="linearGradient3185"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(5.82831,0,0,5.82831,9,0)"
x1="11.543377"
y1="3.4375"
x2="10.88339"
y2="5.9006019" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2916"
id="linearGradient3187"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.545256,0,0,0.821275,56.01045,8.410494)"
x1="38.875084"
y1="67.528122"
x2="90.409752"
y2="67.528122" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2916"
id="linearGradient3189"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.545256,0,0,1.808891,56.01045,-3.756896)"
x1="38.875084"
y1="67.528122"
x2="90.409752"
y2="67.528122" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient3832"
id="radialGradient3191"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1,0,0,2.962963e-2,0,2.950605)"
cx="12.308078"
cy="3.0406888"
fx="13.944797"
fy="3.0406888"
r="2.9831069" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient3832"
id="radialGradient3193"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1,0,0,2.962963e-2,0,2.950605)"
cx="12.308078"
cy="3.0406888"
fx="13.944797"
fy="3.0406888"
r="2.9831069" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2916"
id="linearGradient4093"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.545256,0,0,1.808891,63.01045,-3.756896)"
x1="38.875084"
y1="67.528122"
x2="90.409752"
y2="67.528122" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2916"
id="linearGradient4096"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.545256,0,0,0.821275,63.01045,8.410494)"
x1="38.875084"
y1="67.528122"
x2="90.409752"
y2="67.528122" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2895"
id="linearGradient4099"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(5.82831,0,0,5.82831,16,0)"
x1="11.543377"
y1="3.4375"
x2="10.88339"
y2="5.9006019" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient3140"
id="radialGradient4102"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.055718,0,0,1.666364,7.815341,73.26644)"
cx="68.000046"
cy="-117.34602"
fx="68.000046"
fy="-117.34602"
r="27.999956" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2874"
id="linearGradient4105"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.085374,0,0,0.865765,30.49566,-132.0539)"
x1="43.918915"
y1="7.8450942"
x2="43.918915"
y2="15.315003" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2874"
id="linearGradient4108"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.083993,0,0,0.84067,30.52057,-131.7705)"
x1="63.948738"
y1="-163.6496"
x2="43.918915"
y2="54.970299" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2916"
id="linearGradient4111"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.545256,0,0,0.962358,63.01045,6.672295)"
x1="38.875084"
y1="67.528122"
x2="90.409752"
y2="67.528122" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2874"
id="linearGradient4114"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.069646,0,0,0.962358,31.70483,6.672295)"
x1="69.07917"
y1="1.0128831"
x2="63.575024"
y2="39.769947" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2858"
id="linearGradient4117"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.084878,0,0,0.961444,30.50461,6.682619)"
x1="18.01074"
y1="65.760353"
x2="72.498932"
y2="65.760353" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3082"
id="linearGradient4121"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(5.390888,0,0,5.390888,60.1978,7.426068)"
x1="5.6568542"
y1="6.0850325"
x2="5.6568542"
y2="1.4639859" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3822"
id="linearGradient4124"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(6.07834,0,0,5.82831,13.78914,0)"
x1="11.434079"
y1="1.0289581"
x2="11.174653"
y2="2.2792649" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3082"
id="linearGradient4127"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(5.390888,0,0,5.390888,60.1978,7.426068)"
x1="6.4523492"
y1="-2.8016193"
x2="5.5593128"
y2="1.0485095" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3041"
id="linearGradient4130"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(5.390888,0,0,5.390888,60.1978,7.426068)"
x1="1.4227993"
y1="1.022699"
x2="5.5960732"
y2="1.022699" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient3291"
id="radialGradient5374"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1,0,0,0.197802,0,92.82166)"
cx="63.912209"
cy="115.70919"
fx="66.022942"
fy="115.70919"
r="63.912209" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3041"
id="linearGradient5376"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(5.390888,0,0,5.390888,60.1978,7.426068)"
x1="1.4227993"
y1="1.022699"
x2="5.5960732"
y2="1.022699" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3082"
id="linearGradient5378"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(5.390888,0,0,5.390888,60.1978,7.426068)"
x1="6.4523492"
y1="-2.8016193"
x2="5.5593128"
y2="1.0485095" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3822"
id="linearGradient5380"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(6.07834,0,0,5.82831,13.78914,0)"
x1="11.434079"
y1="1.0289581"
x2="11.174653"
y2="2.2792649" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3082"
id="linearGradient5382"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(5.390888,0,0,5.390888,60.1978,7.426068)"
x1="5.6568542"
y1="6.0850325"
x2="5.6568542"
y2="1.4639859" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2858"
id="linearGradient5384"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.084878,0,0,0.961444,30.50461,6.682619)"
x1="18.01074"
y1="65.760353"
x2="72.498932"
y2="65.760353" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2874"
id="linearGradient5386"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.069646,0,0,0.962358,31.70483,6.672295)"
x1="69.07917"
y1="1.0128831"
x2="63.575024"
y2="39.769947" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2916"
id="linearGradient5388"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.545256,0,0,0.962358,63.01045,6.672295)"
x1="38.875084"
y1="67.528122"
x2="90.409752"
y2="67.528122" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2874"
id="linearGradient5390"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.083993,0,0,0.84067,30.52057,-131.7705)"
x1="63.948738"
y1="-163.6496"
x2="43.918915"
y2="54.970299" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2874"
id="linearGradient5392"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.085374,0,0,0.865765,30.49566,-132.0539)"
x1="43.918915"
y1="7.8450942"
x2="43.918915"
y2="15.315003" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient3140"
id="radialGradient5394"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.055718,0,0,1.666364,7.815341,73.26644)"
cx="68.000046"
cy="-117.34602"
fx="68.000046"
fy="-117.34602"
r="27.999956" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2895"
id="linearGradient5396"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(5.82831,0,0,5.82831,16,0)"
x1="11.543377"
y1="3.4375"
x2="10.88339"
y2="5.9006019" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2916"
id="linearGradient5398"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.545256,0,0,0.821275,63.01045,8.410494)"
x1="38.875084"
y1="67.528122"
x2="90.409752"
y2="67.528122" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2916"
id="linearGradient5400"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.545256,0,0,1.808891,63.01045,-3.756896)"
x1="38.875084"
y1="67.528122"
x2="90.409752"
y2="67.528122" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient3832"
id="radialGradient5402"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1,0,0,2.962963e-2,0,2.950605)"
cx="12.308078"
cy="3.0406888"
fx="13.944797"
fy="3.0406888"
r="2.9831069" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient3832"
id="radialGradient5404"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1,0,0,2.962963e-2,0,2.950605)"
cx="12.308078"
cy="3.0406888"
fx="13.944797"
fy="3.0406888"
r="2.9831069" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2916"
id="linearGradient2290"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.545256,0,0,1.808891,65.89819,-3.756896)"
x1="38.875084"
y1="67.528122"
x2="90.409752"
y2="67.528122" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2916"
id="linearGradient2293"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.545256,0,0,0.821275,65.89819,8.410494)"
x1="38.875084"
y1="67.528122"
x2="90.409752"
y2="67.528122" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2895"
id="linearGradient2296"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(5.82831,0,0,5.82831,18.88774,0)"
x1="11.543377"
y1="3.4375"
x2="10.88339"
y2="5.9006019" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient3140"
id="radialGradient2299"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.055718,0,0,1.666364,10.70308,73.26644)"
cx="68.000046"
cy="-117.34602"
fx="68.000046"
fy="-117.34602"
r="27.999956" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2874"
id="linearGradient2302"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.085374,0,0,0.865765,33.3834,-132.0539)"
x1="43.918915"
y1="7.8450942"
x2="43.918915"
y2="15.315003" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2874"
id="linearGradient2305"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.083993,0,0,0.84067,33.40831,-131.7705)"
x1="63.948738"
y1="-163.6496"
x2="43.918915"
y2="54.970299" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2916"
id="linearGradient2308"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.545256,0,0,0.962358,65.89819,6.672295)"
x1="38.875084"
y1="67.528122"
x2="90.409752"
y2="67.528122" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2874"
id="linearGradient2316"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.069646,0,0,0.962358,34.59257,6.672295)"
x1="69.07917"
y1="1.0128831"
x2="63.575024"
y2="39.769947" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2858"
id="linearGradient2319"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.084878,0,0,0.961444,33.39235,6.682619)"
x1="18.01074"
y1="65.760353"
x2="72.498932"
y2="65.760353" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3082"
id="linearGradient2322"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(5.390888,0,0,5.390888,63.08554,7.426068)"
x1="5.6568542"
y1="6.0850325"
x2="5.6568542"
y2="1.4639859" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3822"
id="linearGradient2325"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(6.07834,0,0,5.82831,16.67688,0)"
x1="11.434079"
y1="1.0289581"
x2="11.174653"
y2="2.2792649" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3082"
id="linearGradient2328"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(5.390888,0,0,5.390888,63.08554,7.426068)"
x1="6.4523492"
y1="-2.8016193"
x2="5.5593128"
y2="1.0485095" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3041"
id="linearGradient2331"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(5.390888,0,0,5.390888,63.08554,7.426068)"
x1="1.4227993"
y1="1.022699"
x2="5.5960732"
y2="1.022699" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient3291"
id="radialGradient2340"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1,0,0,0.197802,0,92.82166)"
cx="63.912209"
cy="115.70919"
fx="66.022942"
fy="115.70919"
r="63.912209" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient13461"
id="radialGradient2342"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.611098,0,0,3.009366,-79.1103,-131.5445)"
cx="64"
cy="64.968025"
fx="64"
fy="64.968025"
r="19.72229" />
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="3.0214592"
inkscape:cx="63.5"
inkscape:cy="61.5"
inkscape:current-layer="layer1"
showgrid="true"
inkscape:document-units="px"
inkscape:grid-bbox="true"
guidetolerance="0.1px"
showguides="true"
inkscape:guide-bbox="true"
inkscape:window-width="1106"
inkscape:window-height="904"
inkscape:window-x="304"
inkscape:window-y="0"
width="128px"
height="128px" />
<metadata
id="metadata1312">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<cc:license
rdf:resource="http://creativecommons.org/licenses/GPL/2.0/" />
<dc:contributor>
<cc:Agent>
<dc:title>Oxygen team</dc:title>
</cc:Agent>
</dc:contributor>
</cc:Work>
<cc:License
rdf:about="http://creativecommons.org/licenses/LGPL/2.1/">
<cc:permits
rdf:resource="http://web.resource.org/cc/Reproduction" />
<cc:permits
rdf:resource="http://web.resource.org/cc/Distribution" />
<cc:requires
rdf:resource="http://web.resource.org/cc/Notice" />
<cc:permits
rdf:resource="http://web.resource.org/cc/DerivativeWorks" />
<cc:requires
rdf:resource="http://web.resource.org/cc/ShareAlike" />
<cc:requires
rdf:resource="http://web.resource.org/cc/SourceCode" />
</cc:License>
</rdf:RDF>
</metadata>
<g
id="layer1"
inkscape:label="Layer 1"
inkscape:groupmode="layer">
<rect
style="opacity:0;fill:#590000;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.59500003;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:4;stroke-opacity:1"
id="rect2869"
width="128.16599"
height="128.16599"
x="0"
y="-4.5116963e-07"
ry="0.017196547"
rx="0.017196547" />
<path
sodipodi:nodetypes="ccc"
id="path2276"
d="M 50.892799,3.2812959 L 50.892799,0.48658747 L 50.892799,3.2812959 z "
style="fill:white;fill-opacity:0.75688076;fill-rule:nonzero;stroke:none;stroke-width:0.5;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:4;stroke-opacity:1" />
<path
sodipodi:type="arc"
style="opacity:0.38139535;fill:url(#radialGradient2340);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:4;stroke-opacity:1"
id="path3289"
sodipodi:cx="63.912209"
sodipodi:cy="115.70919"
sodipodi:rx="63.912209"
sodipodi:ry="12.641975"
d="M 127.82442 115.70919 A 63.912209 12.641975 0 1 1 0,115.70919 A 63.912209 12.641975 0 1 1 127.82442 115.70919 z"
transform="matrix(0.637727,0,0,0.417459,23.24146,74.4977)" />
<g
id="g2335"
transform="translate(39.98659,-3)">
<path
sodipodi:nodetypes="ccccccc"
id="path2247"
d="M 33.430369,12.681554 L 30.372339,54.257815 L 44.249109,53.082135 L 15.935969,117.25449 L 17.887679,70.301791 L 4.804529,71.410233 L 33.430369,12.681554 z "
style="fill:#555753;fill-opacity:1;fill-rule:evenodd;stroke:black;stroke-width:1.00000012;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path
sodipodi:nodetypes="ccccccc"
id="path2541"
d="M 32.90355,11.681554 L 29.84552,53.257815 L 43.72229,52.082135 L 15.40915,116.25449 L 17.36086,69.301791 L 4.27771,70.410233 L 32.90355,11.681554 z "
style="fill:none;fill-opacity:1;fill-rule:evenodd;stroke:red;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:0.5125" />
<path
sodipodi:nodetypes="ccccccc"
id="path2307"
d="M 32.90355,11.681554 L 29.84552,53.257815 L 43.72229,52.082135 L 15.40915,116.25449 L 17.36086,69.301791 L 4.27771,70.410233 L 32.90355,11.681554 z "
style="fill:url(#radialGradient2342);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.00000012;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 830 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 859 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 841 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 841 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 835 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 836 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 831 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 855 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 867 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 849 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 343 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 393 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 394 B

@ -1,662 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://web.resource.org/cc/"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="128"
height="128"
id="svg1307"
sodipodi:version="0.32"
inkscape:version="0.44"
version="1.0"
sodipodi:docbase="/home/pinheiro/artwork/Oxygen/theme/svg/actions/small/22x22"
sodipodi:docname="battery-020.svg"
inkscape:export-filename="/home/pinheiro/artwork/Oxygen/theme/svg/actions/small/battery22-100.png"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90">
<defs
id="defs1309">
<linearGradient
id="linearGradient2845">
<stop
style="stop-color:#bf0000;stop-opacity:1;"
offset="0"
id="stop2847" />
<stop
id="stop2853"
offset="0.5"
style="stop-color:#bf0000;stop-opacity:0;" />
<stop
style="stop-color:#bf0000;stop-opacity:0;"
offset="1"
id="stop2849" />
</linearGradient>
<linearGradient
inkscape:collect="always"
id="linearGradient3846">
<stop
style="stop-color:#590000;stop-opacity:1;"
offset="0"
id="stop3848" />
<stop
style="stop-color:#590000;stop-opacity:0;"
offset="1"
id="stop3850" />
</linearGradient>
<linearGradient
inkscape:collect="always"
id="linearGradient3832">
<stop
style="stop-color:white;stop-opacity:1;"
offset="0"
id="stop3834" />
<stop
style="stop-color:white;stop-opacity:0;"
offset="1"
id="stop3836" />
</linearGradient>
<linearGradient
inkscape:collect="always"
id="linearGradient3822">
<stop
style="stop-color:white;stop-opacity:1;"
offset="0"
id="stop3824" />
<stop
style="stop-color:white;stop-opacity:0;"
offset="1"
id="stop3826" />
</linearGradient>
<linearGradient
id="linearGradient2895">
<stop
style="stop-color:white;stop-opacity:1;"
offset="0"
id="stop2897" />
<stop
style="stop-color:white;stop-opacity:0;"
offset="1"
id="stop2899" />
</linearGradient>
<linearGradient
id="linearGradient2877">
<stop
style="stop-color:#390000;stop-opacity:1;"
offset="0"
id="stop2879" />
<stop
style="stop-color:#970000;stop-opacity:0;"
offset="1"
id="stop2881" />
</linearGradient>
<linearGradient
inkscape:collect="always"
id="linearGradient3164">
<stop
style="stop-color:white;stop-opacity:1;"
offset="0"
id="stop3166" />
<stop
style="stop-color:white;stop-opacity:0;"
offset="1"
id="stop3168" />
</linearGradient>
<linearGradient
inkscape:collect="always"
id="linearGradient3140">
<stop
style="stop-color:white;stop-opacity:1;"
offset="0"
id="stop3142" />
<stop
style="stop-color:white;stop-opacity:0;"
offset="1"
id="stop3144" />
</linearGradient>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2874"
id="linearGradient3011"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.085374,0,0,0.865765,14.49566,-132.0539)"
x1="43.918915"
y1="7.8450942"
x2="43.918915"
y2="15.315003" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2874"
id="linearGradient3014"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.083993,0,0,0.84067,14.52057,-131.7705)"
x1="63.948738"
y1="-163.6496"
x2="43.918915"
y2="54.970299" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2916"
id="linearGradient3017"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.545256,0,0,0.962358,47.01045,6.672295)"
x1="38.875084"
y1="67.528122"
x2="90.409752"
y2="67.528122" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2874"
id="linearGradient3020"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.069646,0,0,0.962358,15.70483,6.672295)"
x1="69.07917"
y1="1.0128831"
x2="63.575024"
y2="39.769947" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2858"
id="linearGradient3023"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.084878,0,0,0.961444,14.50461,6.682619)"
x1="18.01074"
y1="65.760353"
x2="72.498932"
y2="65.760353" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3082"
id="linearGradient3096"
gradientUnits="userSpaceOnUse"
x1="5.6568542"
y1="6.0850325"
x2="5.6568542"
y2="1.4639859"
gradientTransform="matrix(5.390888,0,0,5.390888,44.1978,7.426068)" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3082"
id="linearGradient3092"
gradientUnits="userSpaceOnUse"
x1="6.4523492"
y1="-2.8016193"
x2="5.5593128"
y2="1.0485095"
gradientTransform="matrix(5.390888,0,0,5.390888,44.1978,7.426068)" />
<linearGradient
inkscape:collect="always"
id="linearGradient3082">
<stop
style="stop-color:black;stop-opacity:1;"
offset="0"
id="stop3084" />
<stop
style="stop-color:black;stop-opacity:0;"
offset="1"
id="stop3086" />
</linearGradient>
<linearGradient
id="linearGradient3041">
<stop
id="stop3043"
offset="0"
style="stop-color:#303030;stop-opacity:1;" />
<stop
style="stop-color:#555;stop-opacity:1;"
offset="0.11538462"
id="stop3045" />
<stop
id="stop3053"
offset="0.26590282"
style="stop-color:#3b3b3b;stop-opacity:1;" />
<stop
style="stop-color:#646464;stop-opacity:1;"
offset="0.28553563"
id="stop3057" />
<stop
style="stop-color:#7b7b7b;stop-opacity:1;"
offset="0.43724003"
id="stop3055" />
<stop
style="stop-color:#888;stop-opacity:1;"
offset="0.69156802"
id="stop3047" />
<stop
id="stop3049"
offset="0.90384614"
style="stop-color:#747474;stop-opacity:1;" />
<stop
id="stop3051"
offset="1"
style="stop-color:#5d5d5d;stop-opacity:1;" />
</linearGradient>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3041"
id="linearGradient3077"
x1="1.4227993"
y1="1.022699"
x2="5.5960732"
y2="1.022699"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(5.390888,0,0,5.390888,44.1978,7.426068)" />
<linearGradient
inkscape:collect="always"
id="linearGradient2916">
<stop
style="stop-color:white;stop-opacity:1;"
offset="0"
id="stop2918" />
<stop
style="stop-color:white;stop-opacity:0;"
offset="1"
id="stop2920" />
</linearGradient>
<linearGradient
inkscape:collect="always"
id="linearGradient2874">
<stop
style="stop-color:#414141;stop-opacity:1;"
offset="0"
id="stop2876" />
<stop
style="stop-color:#414141;stop-opacity:0;"
offset="1"
id="stop2878" />
</linearGradient>
<linearGradient
id="linearGradient2858">
<stop
style="stop-color:#303030;stop-opacity:1;"
offset="0"
id="stop2860" />
<stop
id="stop2863"
offset="0.05769231"
style="stop-color:white;stop-opacity:0.59215689;" />
<stop
id="stop2868"
offset="0.11538462"
style="stop-color:#4b4b4b;stop-opacity:0.18431373;" />
<stop
id="stop2866"
offset="0.69156802"
style="stop-color:black;stop-opacity:0;" />
<stop
style="stop-color:black;stop-opacity:0.09747292;"
offset="0.90384614"
id="stop2870" />
<stop
id="stop2867"
offset="0.95192307"
style="stop-color:white;stop-opacity:0.54509807;" />
<stop
style="stop-color:#5d5d5d;stop-opacity:1;"
offset="1"
id="stop2862" />
</linearGradient>
<linearGradient
inkscape:collect="always"
id="linearGradient3291">
<stop
style="stop-color:#000000;stop-opacity:1;"
offset="0"
id="stop3293" />
<stop
style="stop-color:#000000;stop-opacity:0;"
offset="1"
id="stop3295" />
</linearGradient>
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient3291"
id="radialGradient3297"
cx="63.912209"
cy="115.70919"
fx="66.022942"
fy="115.70919"
r="63.912209"
gradientTransform="matrix(1,0,0,0.197802,0,92.82166)"
gradientUnits="userSpaceOnUse" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient3140"
id="radialGradient3146"
cx="68.000046"
cy="-117.34602"
fx="68.000046"
fy="-117.34602"
r="27.999956"
gradientTransform="matrix(1.055718,0,0,1.666364,-8.184659,73.26644)"
gradientUnits="userSpaceOnUse" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3164"
id="linearGradient3170"
x1="73.511299"
y1="1"
x2="73.511299"
y2="5.7553549"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.672581,0,0,1.903227,22.30711,6.096774)" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2895"
id="linearGradient2909"
gradientUnits="userSpaceOnUse"
x1="11.543377"
y1="3.4375"
x2="10.88339"
y2="5.9006019"
gradientTransform="scale(5.82831,5.82831)" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2916"
id="linearGradient2915"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.545256,0,0,1.808891,47.01045,-3.756896)"
x1="38.875084"
y1="67.528122"
x2="90.409752"
y2="67.528122" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2916"
id="linearGradient3820"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.545256,0,0,0.821275,47.01045,8.410494)"
x1="38.875084"
y1="67.528122"
x2="90.409752"
y2="67.528122" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3822"
id="linearGradient3828"
x1="11.434079"
y1="1.0289581"
x2="11.174653"
y2="2.2792649"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(6.07834,0,0,5.82831,-2.210864,0)" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient3832"
id="radialGradient3838"
cx="12.308078"
cy="3.0406888"
fx="13.944797"
fy="3.0406888"
r="2.9831069"
gradientTransform="matrix(1,0,0,2.962963e-2,0,2.950605)"
gradientUnits="userSpaceOnUse" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient3832"
id="radialGradient3842"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1,0,0,2.962963e-2,0,2.950605)"
cx="12.308078"
cy="3.0406888"
fx="13.944797"
fy="3.0406888"
r="2.9831069" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3846"
id="linearGradient3852"
x1="10.073669"
y1="18.5"
x2="13.3511"
y2="18.5"
gradientUnits="userSpaceOnUse"
spreadMethod="reflect" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2845"
id="linearGradient2851"
x1="-70.026154"
y1="-107.9012"
x2="-31.896311"
y2="-107.9012"
gradientUnits="userSpaceOnUse"
spreadMethod="reflect"
gradientTransform="matrix(1,0,0,0.607494,0,-42.03426)" />
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="2.8284271"
inkscape:cx="134.55101"
inkscape:cy="8.8799765"
inkscape:current-layer="layer1"
showgrid="true"
inkscape:document-units="px"
inkscape:grid-bbox="true"
guidetolerance="0.1px"
showguides="true"
inkscape:guide-bbox="true"
inkscape:window-width="1106"
inkscape:window-height="958"
inkscape:window-x="482"
inkscape:window-y="121"
width="128px"
height="128px">
<sodipodi:guide
orientation="horizontal"
position="32.487481"
id="guide2204" />
</sodipodi:namedview>
<metadata
id="metadata1312">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<cc:license
rdf:resource="http://creativecommons.org/licenses/GPL/2.0/" />
<dc:contributor>
<cc:Agent>
<dc:title>Oxygen team</dc:title>
</cc:Agent>
</dc:contributor>
</cc:Work>
<cc:License
rdf:about="http://creativecommons.org/licenses/LGPL/2.1/">
<cc:permits
rdf:resource="http://web.resource.org/cc/Reproduction" />
<cc:permits
rdf:resource="http://web.resource.org/cc/Distribution" />
<cc:requires
rdf:resource="http://web.resource.org/cc/Notice" />
<cc:permits
rdf:resource="http://web.resource.org/cc/DerivativeWorks" />
<cc:requires
rdf:resource="http://web.resource.org/cc/ShareAlike" />
<cc:requires
rdf:resource="http://web.resource.org/cc/SourceCode" />
</cc:License>
</rdf:RDF>
</metadata>
<g
id="layer1"
inkscape:label="Layer 1"
inkscape:groupmode="layer">
<rect
style="opacity:0;fill:#590000;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.59500003;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:4;stroke-opacity:1"
id="rect2869"
width="128.16599"
height="128.16599"
x="0"
y="-4.5116963e-07"
ry="0.017196547"
rx="0.017196547" />
<path
sodipodi:nodetypes="ccc"
id="path2276"
d="M 50.892799,3.2812959 L 50.892799,0.48658747 L 50.892799,3.2812959 z "
style="fill:white;fill-opacity:0.75688076;fill-rule:nonzero;stroke:none;stroke-width:0.5;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:4;stroke-opacity:1" />
<path
sodipodi:type="arc"
style="opacity:0.38139535;fill:url(#radialGradient3297);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:4;stroke-opacity:1"
id="path3289"
sodipodi:cx="63.912209"
sodipodi:cy="115.70919"
sodipodi:rx="63.912209"
sodipodi:ry="12.641975"
d="M 127.82442 115.70919 A 63.912209 12.641975 0 1 1 0,115.70919 A 63.912209 12.641975 0 1 1 127.82442 115.70919 z"
transform="matrix(0.637727,0,0,0.417459,23.29065,74.4977)" />
<path
style="fill:url(#linearGradient3077);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.04;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dashoffset:4;stroke-opacity:1"
d="M 52.090255,7.4260983 L 74.216749,7.4260983 C 75.602624,7.4260983 76.718322,8.5418006 76.718322,9.9276791 L 76.718322,18.23111 L 49.588674,18.23111 L 49.588674,9.9276791 C 49.588674,8.5418006 50.704377,7.4260983 52.090255,7.4260983 z "
id="rect3069"
sodipodi:nodetypes="ccccccc" />
<path
style="fill:url(#linearGradient3092);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.04;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dashoffset:4;stroke-opacity:1"
d="M 52.090255,7.4260983 L 74.216749,7.4260983 C 75.602624,7.4260983 76.718322,8.5418006 76.718322,9.9276791 L 76.718322,13.07847 L 49.588674,13.07847 L 49.588674,9.9276791 C 49.588674,8.5418006 50.704377,7.4260983 52.090255,7.4260983 z "
id="path3090"
sodipodi:nodetypes="ccccccc" />
<path
sodipodi:nodetypes="ccccccc"
id="path3080"
d="M 53.770186,8.2457042 L 73.533605,8.2457042 C 74.77148,8.2457042 75.768017,9.2012584 75.768017,10.388208 L 75.768017,11.590575 C 58.516185,15.26916 70.560223,11.848151 51.535772,11.590575 L 51.535772,10.388208 C 51.535772,9.2012584 52.532319,8.2457042 53.770186,8.2457042 z "
style="fill:url(#linearGradient3828);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.04;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dashoffset:4;stroke-opacity:1" />
<path
sodipodi:nodetypes="ccccc"
id="path3094"
d="M 76.718322,15.318565 L 76.718322,18.182964 L 49.588674,18.182964 L 49.588674,15.318565 L 76.718322,15.318565 z "
style="fill:url(#linearGradient3096);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.04;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dashoffset:4;stroke-opacity:1" />
<rect
style="opacity:1;fill:#590000;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.59500003;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:4;stroke-opacity:1"
id="rect2871"
width="43.851925"
height="17.831902"
x="-84.610558"
y="-116.81715"
ry="0.04110394"
transform="scale(-1,-1)"
rx="0.04110394" />
<rect
style="fill:url(#linearGradient3023);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.04;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:4;stroke-opacity:1"
id="rect1969"
width="59.113007"
height="104.77455"
x="34.04409"
y="17.520124"
rx="0.27439758"
ry="0.2450213" />
<rect
ry="0.24557458"
rx="0.27541947"
y="17.520124"
x="34.969944"
height="37.07901"
width="58.282997"
id="rect2872"
style="opacity:0.51000001;fill:url(#linearGradient3020);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.04;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:4;stroke-opacity:1" />
<rect
style="opacity:0.352459;fill:url(#linearGradient3017);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.04;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:4;stroke-opacity:1"
id="rect2914"
width="14.03992"
height="102.9884"
x="68.274475"
y="18.528465"
rx="0"
ry="0" />
<rect
style="opacity:0.87000002;fill:url(#linearGradient3014);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.04;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:4;stroke-opacity:1"
id="rect2882"
width="59.064732"
height="59.797035"
x="34.04409"
y="-122.29468"
rx="0.26041183"
ry="0.24077456"
transform="scale(1,-1)" />
<rect
transform="scale(1,-1)"
ry="0.23952232"
rx="0.259693"
y="-122.29468"
x="34.04409"
height="61.583176"
width="59.140068"
id="rect2886"
style="opacity:1;fill:url(#linearGradient3011);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.04;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:4;stroke-opacity:1" />
<rect
style="opacity:0.41000001;fill:url(#radialGradient3146);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.04;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:4;stroke-opacity:1"
id="rect3136"
width="59.120022"
height="61.287357"
x="34.04409"
y="-122.24918"
rx="0.26217785"
ry="0.24254379"
transform="scale(1,-1)" />
<path
style="opacity:1;fill:url(#linearGradient2909);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.04;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:4;stroke-opacity:1"
d="M 38.976817,20.034812 C 38.421853,20.034812 38.066143,20.572656 38.066143,21.127619 L 38.066143,24.22391 C 49.669954,42.880162 73.463169,32.60421 89.792381,29.32368 L 89.792381,21.127619 C 89.792381,20.572656 89.43668,20.034812 88.881711,20.034812 L 38.976817,20.034812 z "
id="rect2885"
sodipodi:nodetypes="ccccccc" />
<rect
ry="0"
rx="0"
y="18.528465"
x="68.274475"
height="33.926319"
width="14.03992"
id="rect2911"
style="opacity:0.352459;fill:url(#linearGradient3820);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.04;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:4;stroke-opacity:1" />
<rect
style="opacity:0.352459;fill:url(#linearGradient2915);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.04;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:4;stroke-opacity:1"
id="rect2913"
width="14.03992"
height="74.724487"
x="68.274475"
y="18.528465"
rx="0"
ry="0" />
<path
sodipodi:type="arc"
style="opacity:1;fill:url(#radialGradient3838);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.04;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:4;stroke-opacity:1"
id="path3830"
sodipodi:cx="12.308078"
sodipodi:cy="3.0406995"
sodipodi:rx="2.9831069"
sodipodi:ry="0.088388346"
d="M 15.291185 3.0406995 A 2.9831069 0.088388346 0 1 1 9.324971,3.0406995 A 2.9831069 0.088388346 0 1 1 15.291185 3.0406995 z"
transform="matrix(5.82831,0,0,5.82831,-1.469448,0.551147)" />
<path
transform="matrix(3.480147,0,0,5.82831,20.0025,-9.375189)"
d="M 15.291185 3.0406995 A 2.9831069 0.088388346 0 1 1 9.324971,3.0406995 A 2.9831069 0.088388346 0 1 1 15.291185 3.0406995 z"
sodipodi:ry="0.088388346"
sodipodi:rx="2.9831069"
sodipodi:cy="3.0406995"
sodipodi:cx="12.308078"
id="path3840"
style="opacity:1;fill:url(#radialGradient3842);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.04;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:4;stroke-opacity:1"
sodipodi:type="arc" />
<rect
rx="0.04110394"
transform="scale(-1,-1)"
ry="0.024970405"
y="-113"
x="-84.610558"
height="10.832777"
width="43.851925"
id="rect1957"
style="opacity:1;fill:url(#linearGradient2851);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.59500003;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:4;stroke-opacity:1" />
</g>
</svg>

Before

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 399 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 399 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 400 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 400 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 398 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 396 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 375 B

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 909 B

@ -1,272 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://web.resource.org/cc/"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="22"
height="22"
id="svg1872"
sodipodi:version="0.32"
inkscape:version="0.44"
version="1.0"
sodipodi:docbase="/home/kwwii/Desktop/powermanager"
sodipodi:docname="processor.svg"
inkscape:export-filename="/home/kwwii/Desktop/powermanager/processor.png"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90">
<defs
id="defs1874">
<linearGradient
id="linearGradient6745">
<stop
style="stop-color:#323232;stop-opacity:1;"
offset="0"
id="stop6747" />
<stop
style="stop-color:#f0f0f0;stop-opacity:1;"
offset="1"
id="stop6749" />
</linearGradient>
<linearGradient
id="linearGradient4872">
<stop
style="stop-color:#f0f0f0;stop-opacity:1;"
offset="0"
id="stop4874" />
<stop
style="stop-color:white;stop-opacity:0;"
offset="1"
id="stop4876" />
</linearGradient>
<linearGradient
id="linearGradient4864">
<stop
style="stop-color:white;stop-opacity:1;"
offset="0"
id="stop4866" />
<stop
style="stop-color:white;stop-opacity:0;"
offset="1"
id="stop4868" />
</linearGradient>
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient4872"
id="radialGradient6980"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(2.004249,0,0,1.820427,-6.602678,0.190761)"
cx="4.9607177"
cy="2.564851"
fx="4.9607177"
fy="2.564851"
r="9.25" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient6745"
id="linearGradient6982"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.085659,0,0,0.741933,-0.941925,2.756039)"
x1="18.70451"
y1="16.786016"
x2="8.5717449"
y2="2.0000215" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient4864"
id="radialGradient6984"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.890042,0,0,0.825481,-9.790136,1.119839)"
cx="11.000002"
cy="12.045759"
fx="11.000002"
fy="12.045759"
r="9.25" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient6745"
id="linearGradient6986"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.083157,0,0,0.8881,-0.914393,0.722722)"
x1="18.70451"
y1="16.786016"
x2="8.5717449"
y2="2.0000215" />
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="5.7272727"
inkscape:cx="7.2063492"
inkscape:cy="8.3968254"
inkscape:current-layer="layer1"
showgrid="true"
inkscape:grid-bbox="true"
inkscape:document-units="px"
width="22px"
height="22px"
inkscape:window-width="808"
inkscape:window-height="575"
inkscape:window-x="32"
inkscape:window-y="56" />
<metadata
id="metadata1877">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</cc:Work>
</rdf:RDF>
</metadata>
<g
id="layer1"
inkscape:label="Layer 1"
inkscape:groupmode="layer">
<g
id="g6961"
transform="translate(0,1)">
<rect
rx="2.0653524"
ry="1.6258657"
y="13.225575"
x="2.7856784"
height="3.9719493"
width="2.3380265"
id="rect6794"
style="opacity:1;fill:#ffee03;fill-opacity:1;stroke:#323232;stroke-width:0.57388383;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:0.4256757" />
<rect
rx="2.0653524"
ry="1.6258657"
y="13.225575"
x="6.2901516"
height="3.9719493"
width="2.3380265"
id="rect6796"
style="opacity:1;fill:#ffee03;fill-opacity:1;stroke:#323232;stroke-width:0.57388383;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:0.4256757" />
<rect
rx="2.0653524"
ry="1.6258657"
y="13.225575"
x="9.7946253"
height="3.9719493"
width="2.3380265"
id="rect6798"
style="opacity:1;fill:#ffee03;fill-opacity:1;stroke:#323232;stroke-width:0.57388383;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:0.4256757" />
<rect
rx="2.0653524"
ry="1.6258657"
y="13.225575"
x="13.299097"
height="3.9719493"
width="2.3380265"
id="rect6800"
style="opacity:1;fill:#ffee03;fill-opacity:1;stroke:#323232;stroke-width:0.57388383;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:0.4256757" />
<rect
rx="2.0653524"
ry="1.6258657"
y="13.225575"
x="16.803576"
height="3.9719493"
width="2.3380265"
id="rect6802"
style="opacity:1;fill:#ffee03;fill-opacity:1;stroke:#323232;stroke-width:0.57388383;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:0.4256757" />
<path
id="rect6771"
d="M 3.9774686,4.4485852 L 0.44907562,13.235889 L 0.44907562,14.997988 L 0.7544173,14.997988 L 0.7544173,15.276214 C 0.7544173,15.974402 1.2580706,16.551414 1.9079305,16.551415 C 2.5577901,16.551415 3.0953706,15.974402 3.0953705,15.276214 L 3.0953705,14.997988 L 4.2488836,14.997988 L 4.2488836,15.276214 C 4.2488836,15.974402 4.7864643,16.551414 5.4363234,16.551415 C 6.0861832,16.551415 6.5898365,15.974402 6.5898365,15.276214 L 6.5898365,14.997988 L 7.7772767,14.997988 L 7.7772767,15.276214 C 7.7772767,15.974402 8.3148569,16.551414 8.9647169,16.551415 C 9.6145761,16.551415 10.118231,15.974402 10.118231,15.276214 L 10.118231,14.997988 L 11.30567,14.997988 L 11.30567,15.276214 C 11.30567,15.974402 11.809324,16.551414 12.459185,16.551415 C 13.109042,16.551415 13.646624,15.974402 13.646624,15.276214 L 13.646624,14.997988 L 14.800136,14.997988 L 14.800136,15.276214 C 14.800136,15.974402 15.337718,16.551414 15.987576,16.551415 C 16.637435,16.551415 17.141088,15.974402 17.141088,15.276214 L 17.141088,14.997988 L 18.32853,14.997988 L 18.32853,15.276214 C 18.32853,15.974402 18.832182,16.551414 19.482041,16.551415 C 20.131901,16.551415 20.669481,15.974402 20.669481,15.276214 L 20.669481,14.997988 L 21.551579,14.997988 L 21.551579,13.235889 L 18.023187,4.4485852 L 3.9774686,4.4485852 z "
style="opacity:1;fill:black;fill-opacity:0;stroke:#323232;stroke-width:0.89749092;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<rect
rx="2.0653524"
ry="1.6258657"
y="13.225575"
x="0.77808517"
height="3.9719493"
width="2.3380265"
id="rect4896"
style="opacity:1;fill:#ffee03;fill-opacity:1;stroke:#323232;stroke-width:0.57388383;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:0.4256757" />
<rect
rx="2.0653524"
ry="1.6258657"
y="13.225575"
x="4.2825584"
height="3.9719493"
width="2.3380265"
id="rect4898"
style="opacity:1;fill:#ffee03;fill-opacity:1;stroke:#323232;stroke-width:0.57388383;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:0.4256757" />
<rect
rx="2.0653524"
ry="1.6258657"
y="13.225575"
x="7.7870321"
height="3.9719493"
width="2.3380265"
id="rect4904"
style="opacity:1;fill:#ffee03;fill-opacity:1;stroke:#323232;stroke-width:0.57388383;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:0.4256757" />
<rect
rx="2.0653524"
ry="1.6258657"
y="13.225575"
x="11.291505"
height="3.9719493"
width="2.3380265"
id="rect4906"
style="opacity:1;fill:#ffee03;fill-opacity:1;stroke:#323232;stroke-width:0.57388383;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:0.4256757" />
<rect
rx="2.0653524"
ry="1.6258657"
y="13.225575"
x="14.79598"
height="3.9719493"
width="2.3380265"
id="rect4908"
style="opacity:1;fill:#ffee03;fill-opacity:1;stroke:#323232;stroke-width:0.57388383;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:0.4256757" />
<rect
rx="2.0653524"
ry="1.6258657"
y="13.225575"
x="18.300453"
height="3.9719493"
width="2.3380265"
id="rect4910"
style="opacity:1;fill:#ffee03;fill-opacity:1;stroke:#323232;stroke-width:0.57388383;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:0.4256757" />
<path
sodipodi:nodetypes="ccccc"
id="rect1885"
d="M 3.9672831,6.2083298 L 18.033363,6.2083298 L 21.549881,15.000377 L 0.45076303,15.000377 L 3.9672831,6.2083298 z "
style="opacity:1;fill:#323232;fill-opacity:1;stroke:#323232;stroke-width:0.50761253;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<rect
y="4.4497476"
x="3.9672832"
height="1.7585821"
width="14.066079"
id="rect1883"
style="opacity:1;fill:#323232;fill-opacity:1;stroke:#323232;stroke-width:0.50761253;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path
id="path4888"
d="M 3.9672831,4.4497479 L 0.45076303,13.242659 L 1.146741,13.242659 L 3.9672831,6.2083298 L 3.9672831,4.4497479 z M 18.033363,4.4497479 L 18.033363,6.2083298 L 20.853905,13.242659 L 21.549881,13.242659 L 18.033363,4.4497479 z "
style="opacity:1;fill:#696969;fill-opacity:1;stroke:#323232;stroke-width:0.50761253;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path
sodipodi:nodetypes="ccccc"
id="path1888"
d="M 3.967283,4.4497479 L 18.033363,4.4497479 L 21.549881,13.241796 L 0.45076272,13.241796 L 3.967283,4.4497479 z "
style="fill:url(#radialGradient6980);fill-opacity:1;stroke:url(#linearGradient6982);stroke-width:0.50761253;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<rect
y="13.274253"
x="0.47508472"
height="2.1050367"
width="21.050474"
id="rect1880"
style="fill:url(#radialGradient6984);fill-opacity:1;stroke:url(#linearGradient6986);stroke-width:0.55472744;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 12 KiB

@ -1,49 +0,0 @@
guidance-power-manager TODO:
------------------------------
- [brightness preview], see below
- make power-manager non-blocking
- Wait with hibernate / suspending if the plug has just been pulled
Some batteries only report remaining_time correctly after 30 or so
seconds
DUNNO's:
---------
- How to detect how long the machine is idle?
- How to perform actions that need root privileges (and are not available via HAL)?
- Should we notify when battery is fully charged?
FIXED:
-------
- What is "blank"? "Screen Saver", "Blank Screen" or "Monitor off"?
- Handle CPU hotplugging gracefully (try switching off one CPU when g-p-m is running...)
- Make use of kstandardirs
- Add icons to contextmenu
- Remove brightness controls when not hasBrighness
- Remove battery-specifif items from tooltip when there's no battery
- Make settings dialogue not apply instantly (Save config only on OK and Apply)
- Add cpu frequency to tooltip
- Add icons to tooltip
- Make tooltip size properly
- battery hotplugging
- Implement switchToBattery(), collecting all stuff for onBattery
- notify
- blantdescreensaveronly
- lowerbrightness
- Implement switchToAC(), collecting stuff to run when plugged in:
- notify
- undo blantdescreensaveronly
- up brightness
- Clicking onto the slider should move the handle to the closest tick, but how?
- support for second battery
[brightness preview]
Currently there is only a brightness preview for the currently active scheme (_either_ mains or battery powered).
That means if you want to set the battery brightness when you are currently mains powered, you'll probably
move the battery slider, realise that there is no preview, go to the mains slider, move it till you found a nice
brightness level, then go back to the battery slider and set it there. Would be nicer to have a preview for both sliders:
Whenever you move to a new location, the brightness is adjusted. Has to be tested if it should be set back to
previous value after 5 seconds, or if it should remain till you either move the other slider or click save (assuming
explicit apply).

@ -1,6 +0,0 @@
#!/bin/bash
echo "stopping guidance-power-manager ..."
dcop `dcopfind -a "power-manager*"` MainApplication-Interface quit
echo "starting guidance-power-manager ..."
guidance-power-manager.py &

@ -1,147 +0,0 @@
#!/usr/bin/python
# -*- coding: UTF-8 -*-
"""
Copyright 2008 Sebastian Kügler, Canonical Ltd, Luka Renko
Authors:
Andreas Wenning <awen@awen.dk>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
"""
"""
A frontend to HAL's power features for KDE - Helper application
This application listens for HAL signals and issues dcop-calls to the
kde-power-manager that originally started it. To avoid the need for
kde-power-manager to shut it's helper down, this application
will automatically shut down if it's kde-power-manager isn't running.
"""
import dbus, sys, time
from dbus.mainloop.glib import DBusGMainLoop
import gobject
from dcopext import DCOPClient, DCOPObj, DCOPApp
class GPMHelper():
def mother_alive(self):
"""Check that our mother is still alive"""
found = False
for name in self.dcop.registeredApplications():
name = str(name)
if name == self.motherName:
found = True
if not found:
"""No mother; commit suicide"""
print "guidance-power-manager not alive; exiting"
loop.quit()
"""Called when signal is received"""
def signal_recv(self, *args):
if args[0] == "ButtonPressed":
if args[1] == "brightness-up":
if time.time()-0.02 <= self.last_brightness_up <= time.time():
"""Most likely an extra brightness-up call, discarding"""
print "Extra brightness-up call discarded"
return
try:
ok, foo = self.mother.brightnessUp()
if not ok:
print "brightnessUp-call failed"
return self.mother_alive()
self.last_brightness_up = time.time()
except:
print "brightnessUp-call failed"
return self.mother_alive()
elif args[1] == "brightness-down":
if time.time()-0.02 <= self.last_brightness_down <= time.time():
"""Most likely an extra brightness-down call, discarding"""
print "Extra brightness-down call discarded"
return
try:
ok, foo = self.mother.brightnessDown()
if not ok:
print "brightnessDown-call failed"
return self.mother_alive()
self.last_brightness_down = time.time()
except:
print "brightnessDown-call failed"
return self.mother_alive()
elif args[1] == "sleep":
if time.time()-1 <= self.last_sleep <= time.time():
"""Most likely an extra sleep-call, discarding"""
print "Extra sleep-call discarded"
return
try:
ok, foo = self.mother.suspend()
if not ok:
print "suspend-call failed"
return self.mother_alive()
self.last_sleep = time.time()
except:
print "suspend-call failed"
return self.mother_alive()
elif args[1] == "hibernate":
if time.time()-1 <= self.last_hibernate <= time.time():
"""Most likely an extra hibernate-call, discarding"""
print "Extra hibernate-call discarded"
return
try:
ok, foo = self.mother.hibernate()
if not ok:
print "hibernate-call failed"
return self.mother_alive()
self.last_hibernate = time.time()
except:
print "hibernate failed"
return self.mother_alive()
def __init__(self):
"""Connect to HAL"""
self.dbus_loop = DBusGMainLoop(set_as_default=True)
self.bus = dbus.SystemBus(mainloop=self.dbus_loop)
hal_manager_obj = self.bus.get_object("org.freedesktop.Hal",u'/org/freedesktop/Hal/Manager')
self.hal_manager = dbus.Interface(hal_manager_obj, "org.freedesktop.Hal.Manager")
"""Find button-devices and to connect to"""
button_devices = self.hal_manager.FindDeviceByCapability("button")
for device in button_devices:
self.bus.add_signal_receiver(self.signal_recv,
"Condition",
"org.freedesktop.Hal.Device",
"org.freedesktop.Hal",
device)
"""Let's find our mother"""
self.dcop = DCOPClient()
self.dcop.attach()
found = False
for name in self.dcop.registeredApplications():
name = str(name)
if name.startswith('guidance-'):
self.motherName = name
try:
self.mother = DCOPObj(name, self.dcop, 'power-manager')
found = True
except:
"""Do nothing, catched by found=False"""
break
if not found:
"""No mother; commit suicide"""
print "No guidance-power-manager is running"
sys.exit()
"""Some laptops issue double sleep/hibernate-calls, we need to discard one in that case"""
self.last_sleep = 0
self.last_hibernate = 0
"""And multiple brightness calls is also possible"""
self.last_brightness_up = 0
self.last_brightness_down = 0
if __name__ == "__main__":
gpmh = GPMHelper()
loop = gobject.MainLoop()
loop.run()

@ -1,35 +0,0 @@
[Desktop Entry]
Encoding=UTF-8
Name=Power Manager
Name[el]=Διαχειριστής ενέργειας
Name[es]=Administrador de energía
Name[et]=Toitehaldur
Name[it]=Gestore dell'energia
Name[ja]=電源管理
Name[nl]=Energiebeheer
Name[pt]=Gestor de Energia
Name[pt_BR]=Gerenciador de Energia
Name[sr]=Управљач енергијом
Name[sr@Latn]=Upravljač energijom
Name[sv]=Energisparfunktion
Name[xx]=xxPower Managerxx
Comment=Power management applet
Comment[el]=Μικροεφαρμογή διαχείρισης ενέργειας
Comment[es]=Applet de administrador de potencia
Comment[et]=Toitehalduse aplett
Comment[it]=Applicazione per la gestione dell'energia
Comment[ja]=電源管理アプレット
Comment[nl]=Energiebeheer-applet
Comment[pt]='Applet' de gestão de energia
Comment[pt_BR]=Mini-aplicativo de gerenciamento de energia
Comment[sr]=Аплет за управљање енергијом
Comment[sr@Latn]=Aplet za upravljanje energijom
Comment[sv]=Miniprogram för energisparfunktion
Comment[xx]=xxPower management appletxx
Icon=guidance-power-manager
Exec=guidance-power-manager
Terminal=false
Type=Application
Categories=Qt;TDE;
OnlyShowIn=TDE;
X-DCOP-ServiceType=Unique

File diff suppressed because it is too large Load Diff

@ -1,530 +0,0 @@
<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
<class>PowerManagerUI</class>
<widget class="TQWidget">
<property name="name">
<cstring>PowerManagerUI</cstring>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>505</width>
<height>374</height>
</rect>
</property>
<property name="caption">
<string>PowerManagerUI</string>
</property>
<property name="mouseTracking">
<bool>true</bool>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQGroupBox">
<property name="name">
<cstring>GeneralSettingsBox</cstring>
</property>
<property name="title">
<string>General Settings</string>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQCheckBox">
<property name="name">
<cstring>lockScreenOnResume</cstring>
</property>
<property name="text">
<string>Lock screen on resume</string>
</property>
</widget>
</vbox>
</widget>
<widget class="TQGroupBox">
<property name="name">
<cstring>MainsPoweredBox</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>5</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="title">
<string>Mains Powered</string>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>layout17</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLabel">
<property name="name">
<cstring>PoweredBrightnessLabel</cstring>
</property>
<property name="text">
<string>Brightness</string>
</property>
</widget>
<widget class="TQSlider">
<property name="name">
<cstring>PoweredBrightnessSlider</cstring>
</property>
<property name="mouseTracking">
<bool>true</bool>
</property>
<property name="acceptDrops">
<bool>true</bool>
</property>
<property name="maxValue">
<number>7</number>
</property>
<property name="lineStep">
<number>1</number>
</property>
<property name="pageStep">
<number>1</number>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="tickmarks">
<enum>Both</enum>
</property>
<property name="tickInterval">
<number>0</number>
</property>
<property name="whatsThis" stdset="0">
<string>With this slider you can set the brightness when the system is plugged into the socket outlet</string>
</property>
</widget>
</hbox>
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>layout13</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<spacer>
<property name="name">
<cstring>spacer12_3_2_2</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>200</width>
<height>20</height>
</size>
</property>
</spacer>
<widget class="TQLabel">
<property name="name">
<cstring>PoweredIdleLabel</cstring>
</property>
<property name="text">
<string>When the system is idle for more than</string>
</property>
</widget>
<widget class="TQSpinBox">
<property name="name">
<cstring>PoweredIdleTime</cstring>
</property>
<property name="prefix">
<string></string>
</property>
<property name="suffix">
<string> min</string>
</property>
<property name="whatsThis" stdset="0">
<string>To prevent data loss or other damage, you can have the system suspend or hibernate, so you don't run accidentally out of battery power. Configure the number of minutes below which the machine will run the configured action.</string>
</property>
</widget>
<widget class="TQComboBox">
<property name="name">
<cstring>PoweredIdleCombo</cstring>
</property>
</widget>
</hbox>
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>layout13_2_2</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<spacer>
<property name="name">
<cstring>spacer12_3_2_2_3_2</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>200</width>
<height>20</height>
</size>
</property>
</spacer>
<widget class="TQLabel">
<property name="name">
<cstring>PoweredFreqLabel</cstring>
</property>
<property name="text">
<string>CPU frequency scaling policy</string>
</property>
</widget>
<widget class="TQComboBox">
<property name="name">
<cstring>PoweredFreqCombo</cstring>
</property>
</widget>
</hbox>
</widget>
</vbox>
</widget>
<widget class="TQGroupBox">
<property name="name">
<cstring>BatteryBox</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>5</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="title">
<string>Battery Powered</string>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>layout16</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLabel">
<property name="name">
<cstring>BatteryBrightnessLabel</cstring>
</property>
<property name="text">
<string>Brightness</string>
</property>
</widget>
<widget class="TQSlider">
<property name="name">
<cstring>BatteryBrightnessSlider</cstring>
</property>
<property name="mouseTracking">
<bool>true</bool>
</property>
<property name="maxValue">
<number>7</number>
</property>
<property name="pageStep">
<number>1</number>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="tickmarks">
<enum>Both</enum>
</property>
<property name="whatsThis" stdset="0">
<string>This slider controls the brightness when the system runs on batteries</string>
</property>
</widget>
</hbox>
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>layout14</cstring>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQComboBox" row="1" column="4">
<property name="name">
<cstring>BatteryIdleCombo</cstring>
</property>
</widget>
<widget class="TQLabel" row="1" column="2">
<property name="name">
<cstring>BatteryIdleLabel</cstring>
</property>
<property name="text">
<string>When the system is idle for more than</string>
</property>
</widget>
<widget class="TQComboBox" row="0" column="4">
<property name="name">
<cstring>BatteryCriticalCombo</cstring>
</property>
</widget>
<widget class="TQLabel" row="0" column="1" rowspan="1" colspan="2">
<property name="name">
<cstring>BatteryCriticalLabel</cstring>
</property>
<property name="text">
<string>When battery remaining time drops below</string>
</property>
</widget>
<widget class="TQSpinBox" row="1" column="3">
<property name="name">
<cstring>BatteryIdleTime</cstring>
</property>
<property name="prefix">
<string></string>
</property>
<property name="suffix">
<string> min</string>
</property>
<property name="whatsThis" stdset="0">
<string>To prevent data loss or other damage, you can have the system suspend or hibernate, so you don't run accidentally out of battery power. Configure the number of minutes below which the machine will run the configured action.</string>
</property>
</widget>
<widget class="TQSpinBox" row="0" column="3">
<property name="name">
<cstring>CriticalRemainTime</cstring>
</property>
<property name="prefix">
<string></string>
</property>
<property name="suffix">
<string> min</string>
</property>
<property name="whatsThis" stdset="0">
<string>To prevent data loss or other damage, you can have the system suspend or hibernate, so you don't run accidentally out of battery power. Configure the number of minutes below which the machine will run the configured action.</string>
</property>
</widget>
<spacer row="0" column="0">
<property name="name">
<cstring>spacer12_3</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>28</width>
<height>20</height>
</size>
</property>
</spacer>
<spacer row="1" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>spacer12_3_2</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>50</width>
<height>20</height>
</size>
</property>
</spacer>
</grid>
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>layout13_2</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<spacer>
<property name="name">
<cstring>spacer12_3_2_2_3</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>200</width>
<height>20</height>
</size>
</property>
</spacer>
<widget class="TQLabel">
<property name="name">
<cstring>BatteryFreqLabel</cstring>
</property>
<property name="text">
<string>CPU frequency scaling policy</string>
</property>
</widget>
<widget class="TQComboBox">
<property name="name">
<cstring>BatteryFreqCombo</cstring>
</property>
</widget>
</hbox>
</widget>
</vbox>
</widget>
<widget class="TQButtonGroup">
<property name="name">
<cstring>LaptopLidRadios</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>5</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="frameShape">
<enum>GroupBoxPanel</enum>
</property>
<property name="title">
<string>When Laptop Lid Closed</string>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="spacing">
<number>5</number>
</property>
<widget class="TQRadioButton">
<property name="name">
<cstring>laptopClosedNone</cstring>
</property>
<property name="text">
<string>Do nothing</string>
</property>
</widget>
<widget class="TQRadioButton">
<property name="name">
<cstring>laptopClosedBlank</cstring>
</property>
<property name="text">
<string>Lock screen</string>
</property>
</widget>
<widget class="TQRadioButton">
<property name="name">
<cstring>laptopClosedSuspend</cstring>
</property>
<property name="text">
<string>Suspend</string>
</property>
<property name="toolTip" stdset="0">
<string>Suspend to Memory</string>
</property>
<property name="whatsThis" stdset="0">
<string>Suspend is a sleep state, the system will consume only very little energy when suspended</string>
</property>
</widget>
<widget class="TQRadioButton">
<property name="name">
<cstring>laptopClosedHibernate</cstring>
</property>
<property name="text">
<string>Hibernate</string>
</property>
<property name="toolTip" stdset="0">
<string>Suspend to Disk</string>
</property>
<property name="whatsThis" stdset="0">
<string>Hibernate or "Suspend to Disk" is a deep sleepstate, allowing the system to power off completely</string>
</property>
</widget>
<widget class="TQRadioButton">
<property name="name">
<cstring>laptopClosedShutdown</cstring>
</property>
<property name="text">
<string>Shutdown</string>
</property>
<property name="toolTip" stdset="0">
<string>Halt the machine</string>
</property>
</widget>
<spacer>
<property name="name">
<cstring>spacer12_2</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>213</width>
<height>20</height>
</size>
</property>
</spacer>
</hbox>
</widget>
<spacer>
<property name="name">
<cstring>spacer11</cstring>
</property>
<property name="orientation">
<enum>Vertical</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>31</width>
<height>80</height>
</size>
</property>
</spacer>
</vbox>
</widget>
<layoutdefaults spacing="6" margin="11"/>
</UI>

@ -1,35 +0,0 @@
import dbus
bus = dbus.SystemBus()
hal_manager_obj = bus.get_object("org.freedesktop.Hal", "/org/freedesktop/Hal/Manager")
hal_manager = dbus.Interface(hal_manager_obj, "org.freedesktop.Hal.Manager")
#device_names = hal_manager.GetAllDevices()
ac = hal_manager.FindDeviceByCapability("ac_adapter")
#all_devices = hal_manager.GetAllDevices()
#for n in device_names: print n
#obj = bus.get_object("org.freedesktop.Hal", u'/org/freedesktop/Hal/devices/acpi_AC')
#obj.GetAllProperties()
name = ac[0]
device_dbus_obj = bus.get_object("org.freedesktop.Hal" ,ac[0])
properties = device_dbus_obj.GetAllProperties(dbus_interface="org.freedesktop.Hal.Device")
try:
parent_name = properties["info.parent"]
except KeyError:
# no parent, must be parent of virtual_root
parent_name = "/"
except TypeError:
print "Error: no properties for device %s"%name
#continue
print properties['ac_adapter.present']
#for p in properties:
# print p, " :: ", properties[p]
if properties['ac_adapter.present']:
print "plugged in"
else:
print "unplugged"

@ -1,75 +0,0 @@
<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
<class>NotifyWidget</class>
<widget class="TQWidget">
<property name="name">
<cstring>NotifyWidgetUI</cstring>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>151</width>
<height>60</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>3</hsizetype>
<vsizetype>3</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="baseSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="caption">
<string>Form3</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLabel" row="0" column="0" rowspan="2" colspan="1">
<property name="name">
<cstring>Icon</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>0</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="pixmap">
<pixmap></pixmap>
</property>
<property name="scaledContents">
<bool>true</bool>
</property>
</widget>
<widget class="TQLabel" row="1" column="1">
<property name="name">
<cstring>Text</cstring>
</property>
<property name="text">
<string></string>
</property>
</widget>
<widget class="TQLabel" row="0" column="1">
<property name="name">
<cstring>Caption</cstring>
</property>
<property name="text">
<string>&lt;b&gt;Powermanager:&lt;/b&gt;</string>
</property>
</widget>
</grid>
</widget>
<pixmapfunction>TQPixmap</pixmapfunction>
<layoutdefaults spacing="6" margin="11"/>
</UI>

@ -1,606 +0,0 @@
#!/usr/bin/python
# -*- coding: UTF-8 -*-
###########################################################################
# Copyright (C) 2006 by Sebastian Kügler
# <sebas@kde.org>
#
# Copyright: See COPYING file that comes with this distribution
#
###########################################################################
# An API for changing the powerstate of a notebook
import dbus
import dbus.glib
import os, time
from dcopext import DCOPClient, DCOPApp # Used for tdescreensaver
import xf86misc
DEBUG = False
def debug(msg):
""" Print debug message to terminal. """
if DEBUG:
print msg
# Default values for actions when battery runs out.
BATTERY_CRITICAL_MINUTES=5
# Only do an emergency suspend if charge level percentage is below ...
CHARGE_LEVEL_THRESHOLD = 10
isroot = os.environ["USER"] == "root"
# Send suspend / hibernate commands to HAL or use Sx_COMMANDS
SUSPEND_USE_HAL = True
# Show the cpu frequency widgets in the tooltip?
SHOW_CPUFREQ = True
# Command to initiate suspend-to-disk when not using HAL
S4_COMMAND = "/usr/local/bin/hibernate"
# Command to initiate suspend-to-ram when not using HAL
S3_COMMAND = "/usr/local/bin/s2ram"
# Override isLaptop method
#IS_LAPTOP = True
def _readValue(filename, line=0):
""" Reads a single value from the first line of a file. """
fhandle = open(filename)
value = fhandle.readlines()[line][:-1]
fhandle.close()
return value
class PowerManage:
""" Class providing low-level power managerment functionality. """
def __init__(self):
# (En|Dis)able using hdparm to set disk timeout
self.USE_HDPARM = True
# (En|Dis)able using laptop_mode to make the disk spin up less often
self.USE_LAPTOP_MODE = True
# (En|Dis)able using cpufreq to control cpu frequency scaling
self.USE_CPUFREQ = True
# (En|Dis)able using wireless adapter powermanagement (causes lag in network connection)
self.USE_WI_PM = True
# (En|Dis)able using display powermanagement
self.USE_DPMS = True
# (En|Dis)able using display brightness switching
self.USE_DISPLAY = True
# (En|Dis)able screensaver blankonly
self.SCREENSAVER_BLANKONLY = True
try:
xg = xf86misc.XF86Server()
self.xscreen = xg.getDefaultScreen()
except xf86misc.XF86Error:
print "Problem connecting to X server for idletime detection."
# Currently only used in the test method
self.display_dark = 0.5
self.display_light = 1
# Some status initialisations
self.lowBatteryState = False
self.warningBatteryState = False
self.criticalBatteryState = False
self.criticalBatteryState = False
self.lidClosedState = False
# What does HAL support on this machine
self.hasBrightness = False
self.hasAC = False
self.hasLid = False
self.hasBattery = False
self.hasCpuFreqGovernors = False
# Used to track if the previous check reported a battery to determine
# if we want to fire a notice "battery removed|plugged in"
self.wasOnBattery = False
self._initHAL()
self._initBrightness()
self._initBattery()
self._initAc()
self._initLid()
self._checkSuspend()
self._checkCpuCapabilities()
self._findDisks()
def checkHAL(self):
""" Handle HAL and DBus restarts """
try:
self.hal_manager.FindDeviceByCapability("")
except dbus.DBusException, e:
if str(e) == 'org.freedesktop.DBus.Error.Disconnected: Connection is closed' \
or str(e) == 'org.freedesktop.DBus.Error.Disconnected: Connection was disconnected before a reply was received':
# DBus doesn't support on-the-fly restart
print "connection with DBus lost, please restart the display manager"
return
if os.system("ps aux|grep [h]ald-runner") == 0:
print "connection with HAL lost, trying to reconnect"
self._initHAL()
self._initBrightness()
self._initBattery()
self._initAc()
self._initLid()
self._checkSuspend()
self._checkCpuCapabilities()
else:
print "HAL is not running"
def isLaptop(self):
""" Detect if system is laptop. """
try:
return IS_LAPTOP
except NameError:
pass
self.computerObject = self.bus.get_object("org.freedesktop.Hal",
u'/org/freedesktop/Hal/devices/computer')
properties = self.computerObject.GetAllProperties(dbus_interface="org.freedesktop.Hal.Device")
# formfactor sometimes (ppc) also reports "unknown" for laptops
# workaround: consider laptop anything with primary battery (see LP #64053)
return properties["system.formfactor"] == "laptop" or self.hasBattery
def _findDisks(self):
""" Scan /sys/block for non-removable and non-ramdisks, used for hdparm actions,
currently not implemented in the powermanager frontend. """
self.disks = []
blk_path = "/sys/block/"
for d in os.listdir(blk_path):
# No RAM disks, no DM-RAID
if d.startswith("ram") or d.startswith("dm"):
continue
fhandle = open(blk_path+d+"/removable")
if fhandle.readlines()[0][:-1] == "0":
self.disks.append(d)
debug("Detected disks: "+" ".join(self.disks))
def onBattery(self):
""" Find out if we're on AC or on battery using HAL. """
if not self.hasAC:
print "No AC adapter found - assume that we are on batteries."
return False
properties = self.acObject.GetAllProperties(dbus_interface="org.freedesktop.Hal.Device")
if properties.has_key("ac_adapter.present"):
return not properties['ac_adapter.present']
else:
print "Error: ac_adapter has no property \"present\""
return False
def _initBattery(self):
""" Looks for a battery in HAL. """
batteryDevices = self.hal_manager.FindDeviceByCapability("battery")
self.batteries = {}
self.batteryIsPresent = {}
numBatt = 0
for batt in batteryDevices:
battObj = self.bus.get_object("org.freedesktop.Hal", batt)
properties = battObj.GetAllProperties(dbus_interface="org.freedesktop.Hal.Device")
if properties['battery.type'] != "primary":
continue
self.batteries[numBatt] = battObj
self.batteryIsPresent[numBatt] = properties['battery.present']
numBatt += 1
if numBatt > 0:
self.hasBattery = True
else:
self.hasBattery = False
print "No battery found."
def getBatteryState(self,batt):
""" Read battery status from HAL and return
(battery state, charge percentage, remaining seconds).
"""
try:
properties = self.batteries[batt].GetAllProperties(dbus_interface="org.freedesktop.Hal.Device")
except dbus.DBusException:
print "problem getting battery state from dbus."
return "not present", 0, 0, 0, 0, 0
if not properties['battery.present']:
return "not present", 0, 0, 0, 0, 0
else:
current = full = level = remain = rate = 0
if properties.has_key("battery.charge_level.current"):
current = properties["battery.charge_level.current"]
if properties.has_key("battery.charge_level.last_full"):
full = properties["battery.charge_level.last_full"]
if properties["battery.rechargeable.is_charging"]:
state = "charging"
elif properties["battery.rechargeable.is_discharging"]:
if self.onBattery():
state = "discharging"
else:
state = "charged"
elif not properties["battery.rechargeable.is_discharging"] \
and not properties["battery.rechargeable.is_charging"]:
if current == 0:
state = "empty"
else:
state = "charged"
else:
print "Unknown battery state ..."
# Sometimes, HAL doesn't report the percentage, but we can compute that ourselves anyway
if properties.has_key("battery.charge_level.percentage"):
level = properties["battery.charge_level.percentage"]
elif current > 0 and full > 0:
level = current / full
if state in ("charging","discharging"):
if properties.has_key("battery.remaining_time"):
remain = properties["battery.remaining_time"]
if properties.has_key("battery.charge_level.rate"):
rate = properties["battery.charge_level.rate"]
return state, level, remain, rate, current, full
def showInfo(self):
""" Outputs some random information to show that it does not work yet. """
print "OnBattery:", self.onBattery()
print "CPUs:", len(self.cpus)
def _initHAL(self):
""" Initialise HAL client to be used later. """
self.bus = dbus.SystemBus()
hal_manager_obj = self.bus.get_object("org.freedesktop.Hal", "/org/freedesktop/Hal/Manager")
self.hal_manager = dbus.Interface(hal_manager_obj, "org.freedesktop.Hal.Manager")
def _initLid(self):
""" Find out if there's a Lid device. """
lidDevice = self.hal_manager.FindDeviceStringMatch("button.type", "lid")
if len(lidDevice) >= 1:
self.hasLid = True
self.lidObject = self.bus.get_object("org.freedesktop.Hal" ,lidDevice[0])
def _initAc(self):
""" Search HAL for detecting if power is plugged in. """
acDevice = self.hal_manager.FindDeviceByCapability("ac_adapter")
if len(acDevice) >= 1:
self.hasAC = True
self.acObject = self.bus.get_object("org.freedesktop.Hal" ,acDevice[0])
def _checkSuspend(self):
""" Ask HAL whether we can suspend / hibernate. """
if SUSPEND_USE_HAL:
self.computerObject = self.bus.get_object("org.freedesktop.Hal",
u'/org/freedesktop/Hal/devices/computer')
properties = self.computerObject.GetAllProperties(
dbus_interface="org.freedesktop.Hal.Device")
self.canSuspend = properties["power_management.can_suspend"]
self.canHibernate = properties["power_management.can_hibernate"]
else:
self.canSuspend = self.canHibernate = True
def _initBrightness(self):
""" Search HAL for a screen with brightness controls."""
brightnessDevice = self.hal_manager.FindDeviceByCapability("laptop_panel")
if len(brightnessDevice) >= 1:
self.hasBrightness = True
self.brightnessObject = self.bus.get_object("org.freedesktop.Hal", brightnessDevice[0])
self.brightness_properties = self.brightnessObject.GetAllProperties(
dbus_interface="org.freedesktop.Hal.Device")
try:
self.brightness_levels = self.brightness_properties[u'laptop_panel.num_levels']
except KeyError,e:
self.hasBrightness = False
return 0 # Really don't know what to do here, but don't crash in any case.
try:
self.old_b = self.brightness_levels[-1] # Setting cached brightness value to brightest
except TypeError,e:
return 0 # Really don't know what to do here, but don't crash in any case.
def getBrightness(self):
""" Read brightness from HAL. """
if not self.hasBrightness:
debug("Brightness setting not supported.")
return
try:
b = self.brightnessObject.GetBrightness(
dbus_interface="org.freedesktop.Hal.Device.LaptopPanel")
except dbus.DBusException, e:
# Sometimes, right after resume, the HAL call
# fails, in that case, we return the last value
# and hope that it goes well next time.
print "Warning: in getBrightness(): ", e
# try and return the old brightness setting, but don't die in any case:
try:
return self.old_b
except AttributeError, errmsg:
return
self.old_b = b
return b
def adjustBrightness(self, level):
""" Adjust the brightness via HAL. """
if not self.hasBrightness:
debug("Brightness setting not supported.")
return
try:
self.brightnessObject.SetBrightness(level,
dbus_interface="org.freedesktop.Hal.Device.LaptopPanel")
except dbus.DBusException, e:
print e
def _checkCpuCapabilities(self):
""" Find out the number of CPUs / cores, check which governors are avaible."""
cpufreq_dir = "/sys/devices/system/cpu"
self.cpus = []
for cpu in os.listdir(cpufreq_dir):
if cpu.startswith('cpu') and cpu != 'cpuidle':
self.cpus.append(cpu)
self.cpus.sort()
# Map our policies to cpufreq governors.
self.cpu_policy = {}
self.cpu_policy['dynamic/ac'] = []
self.cpu_policy['dynamic/battery'] = []
self.cpu_policy['powersave'] = []
self.cpu_policy['performance'] = []
try:
comp_obj = self.bus.get_object('org.freedesktop.Hal', '/org/freedesktop/Hal/devices/computer')
self.cpufreq = dbus.Interface(comp_obj, 'org.freedesktop.Hal.Device.CPUFreq')
self.governor_available = self.cpufreq.GetCPUFreqAvailableGovernors()
except dbus.DBusException:
return
self.hasCpuFreqGovernors = True
if 'ondemand' in self.governor_available:
self.cpu_policy['dynamic/ac'].append('ondemand')
self.cpu_policy['dynamic/battery'].append('ondemand')
if 'conservative' in self.governor_available:
self.cpu_policy['dynamic/ac'].append('conservative')
self.cpu_policy['dynamic/battery'].insert(0,'conservative')
if 'userspace' in self.governor_available:
self.cpu_policy['dynamic/ac'].append('userspace')
self.cpu_policy['dynamic/battery'].append('userspace')
if 'powersave' in self.governor_available:
self.cpu_policy['powersave'].append('powersave')
if 'performance' in self.governor_available:
self.cpu_policy['performance'].append('performance')
def getSupportedCpuPolicies(self):
""" Report a list of supported CPU policies """
policies = []
if len(self.cpu_policy['dynamic/ac']) > 0:
policies.append('dynamic')
if len(self.cpu_policy['powersave']) > 0:
policies.append('powersave')
if len(self.cpu_policy['performance']) > 0:
policies.append('performance')
return policies
def getCpuPolicy(self):
""" Translate current CPU frequency governor into policy """
if not self.USE_CPUFREQ or not self.hasCpuFreqGovernors:
return ""
gov = self.cpufreq.GetCPUFreqGovernor()
for policy in self.cpu_policy.keys():
if gov in self.cpu_policy[policy]:
return policy.split('/')[0] # strip ac or battery off
return gov ## return as-is - no conversion
def setCpuPolicy(self,policy):
""" Using cpufreq governors. Mode is powersave, dynamic or performance. We're assuming that
the available governors are the same for all CPUs. This method changes the cpufreq
governor on all CPUs to a certain policy."""
if not self.USE_CPUFREQ or not self.hasCpuFreqGovernors:
return False
if policy == "dynamic":
if self.onBattery():
policy = "dynamic/battery"
else:
policy = "dynamic/ac"
for gov in self.cpu_policy[policy]:
try:
self.cpufreq.SetCPUFreqGovernor(gov)
return True
except dbus.DBusException:
pass
return False # no of governor worked
def cpuIsOnline(self,cpu):
""" Check if cpu is online. CPU0 is always online, CPU1 might be unplugged. Since
/sys/devices/system/cpu/$cpu/cpufreq is not readable for normal users, we just
check for the cpufreq subdir (which is where it's really needed anyway).
"""
if cpu == "cpu0": return True
else: return os.path.isdir("/sys/devices/system/cpu/"+cpu+"/cpufreq")
def getCpuState(self,cpu):
""" Reads the status of a CPU from /sys. """
state = {}
state['online'] = self.cpuIsOnline(cpu)
if not state['online']:
debug("getCpuState: "+cpu+" is offline")
return state
try:
state['cpu'] = cpu
state['cur'] = int(_readValue("/sys/devices/system/cpu/"+cpu+"/cpufreq/scaling_cur_freq"))/1000
state['governor'] = _readValue("/sys/devices/system/cpu/"+cpu+"/cpufreq/scaling_governor")
state['driver'] = _readValue("/sys/devices/system/cpu/"+cpu+"/cpufreq/scaling_driver")
state['steps'] = []
freqs = _readValue("/sys/devices/system/cpu/"+cpu+"/cpufreq/scaling_available_frequencies")
except IOError:
# CPUFREQ has gone away, let's disable it.
state['online'] = False
return state
for v in freqs.split():
state['steps'].append(int(v)/1000)
state['max'] = max(state['steps'])
state['min'] = min(state['steps'])
debug(state)
return state
def getLidClosedState(self):
""" Returns True if the lid is currently closed, or False if it isn't. """
try:
properties = self.lidObject.GetAllProperties(dbus_interface="org.freedesktop.Hal.Device")
return properties["button.state.value"]
except (KeyError, dbus.DBusException):
return False
def setPowerSave(self, state):
# No SetPowerSave in Ubuntu's HAL
try:
self.computerObject.SetPowerSave(state,
dbus_interface="org.freedesktop.Hal.Device.SystemPowerManagement")
except dbus.DBusException, e:
print "Warning: While setting SystemPowerManagement to ", state, ": ",
print e
def blankScreen(self):
""" Call dpms to switch off the screen immediately. """
os.system('xset dpms force standby')
def setScreensaverBlankOnly(self,blankonly):
""" Switches a screensaver to blankonly, so cpu hungry screensavers will not drain the poor
battery."""
# create a new DCOP-Client:
client = DCOPClient()
# connect the client to the local DCOP-server:
client.attach()
# create a DCOP-Application-Object to talk to amarok:
kdesktop = DCOPApp('kdesktop', client)
# call a DCOP-function:
ok, foo = kdesktop.KScreensaverIface.setBlankOnly(blankonly)
if not ok:
debug("Failed to set kdesktop screensaver to blankonly.")
return False
return True
def getIdleSeconds(self):
""" Get idle seconds from X server. """
return self.xscreen.getIdleSeconds()
def resetIdleSeconds(self):
""" Reset idle seconds. """
return self.xscreen.resetIdleSeconds()
def test(self):
""" Try all kinds of stuff and see what breaks."""
print "Trying to adjust brightness ..."
bright = self.getBrightness()
self.adjustBrightness(2)
time.sleep(1)
self.adjustBrightness(bright)
print " ... OK."
if self.USE_CPUFREQ:
print "Reading speeds from cpufreq..."
for cpu in self.cpus:
print self.getCpuState(cpu)
print "Report supported cpufreq policies..."
for policy in self.cpu_policy.keys():
print "Policy:", policy, "=", self.cpu_policy[policy]
print "Trying all cpufreq policies ..."
orig_pol = self.getCpuPolicy()
for pol in self.cpu_policy.keys():
print ". ", pol
self.setCpuPolicy(pol)
self.setCpuPolicy(orig_pol)
print "... OK."
else:
print "Skipping CPUFREQ: USE_CPUFREQ = False"
if self.SCREENSAVER_BLANKONLY:
if self.setScreensaverBlankOnly(True):
debug("Manipulating screensaver seems to work well.")
else:
debug("Manipulating screensaver seems broken.")
if isroot:
print "Trying to use Disk powermanagement and laptop_mode"
self.setDiskPM(True)
time.sleep(1)
self.setDiskPM(False)
print "...OK"
else:
print "Skipping DiskPM, not root."
if self.hasLid:
if self.getLidClosedState():
print "Lid is closed."
else:
print "Lid is currently open."
def setDiskPM(self,on=True):
""" Switches on laptop_mode and sets disks to advanced powermanagement."""
if self.USE_LAPTOP_MODE:
# Check if laptop_mode exists:
laptop_mode = "/proc/sys/vm/laptop_mode"
if not os.path.isfile(laptop_mode):
self.USE_LAPTOP_MODE = False
debug("Laptop mode not supported, no "+laptop_mode)
else:
fhandle = open(laptop_mode,"w")
if on: val = 1
else: val = 0
fhandle.write(str(val))
fhandle.close()
if self.USE_HDPARM:
# Set disks to advanced PM
for disk in self.disks:
if on:
# Switch on advanced powermanagement
cmd = "hdparm -B1 /dev/"+disk+" > /dev/null"
else:
# Switch off advanced powermanagement
cmd = "hdparm -B255 /dev/"+disk+" > /dev/null"
if os.system(cmd) != 0:
self.USE_HDPARM = False
print "Switching advanced powermanagement failed, not using hdparm anymore"
def suspend(self):
""" Run a suspend command, either via HAL or script. """
if SUSPEND_USE_HAL:
try:
self.computerObject.Suspend(0, dbus_interface="org.freedesktop.Hal.Device.SystemPowerManagement")
except dbus.DBusException:
pass #we get a DBusException: No reply within specified time
else:
self._sleepMode(S3_COMMAND)
def hibernate(self):
""" Implements suspend to disk (S4). """
if SUSPEND_USE_HAL:
try:
self.computerObject.Hibernate(dbus_interface="org.freedesktop.Hal.Device.SystemPowerManagement")
except dbus.DBusException:
pass #we get a DBusException: No reply within specified time
else:
self._sleepMode(S4_COMMAND)
def _sleepMode(self, command):
""" Send the system into S3 or S4 not using HAL. """
debug("Initiating a sleep cycle")
if os.system(command) != 0:
print "sleepmode failed. ("+command+")"
return False
debug("Everything is dandy")
return True
def shutdown(self):
""" Shutdown the system via HAL. """
self.computerObject.Shutdown(dbus_interface="org.freedesktop.Hal.Device.SystemPowerManagement")
if __name__ == "__main__":
""" Run some tests, used for debugging."""
pman = PowerManage()
pman.showInfo()
pman.test()

@ -1,924 +0,0 @@
<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
<class>Powermanager</class>
<widget class="QDialog">
<property name="name">
<cstring>Powermanager</cstring>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>568</width>
<height>600</height>
</rect>
</property>
<property name="caption">
<string>Powermanager</string>
</property>
<property name="sizeGripEnabled">
<bool>true</bool>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>11</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<widget class="QTabWidget">
<property name="name">
<cstring>tabWidget</cstring>
</property>
<widget class="QWidget">
<property name="name">
<cstring>Widget8</cstring>
</property>
<attribute name="title">
<string>Power Schemes</string>
</attribute>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QGroupBox">
<property name="name">
<cstring>PerformanceGroup</cstring>
</property>
<property name="title">
<string>Performance</string>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QLayoutWidget">
<property name="name">
<cstring>layout4</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QLabel">
<property name="name">
<cstring>textLabel1</cstring>
</property>
<property name="text">
<string>Brightness</string>
</property>
</widget>
<spacer>
<property name="name">
<cstring>spacer3</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>551</width>
<height>21</height>
</size>
</property>
</spacer>
</hbox>
</widget>
<widget class="QSlider">
<property name="name">
<cstring>PerrformanceBrightnessSlider</cstring>
</property>
<property name="maxValue">
<number>10</number>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="tickmarks">
<enum>Both</enum>
</property>
<property name="whatsThis" stdset="0">
<string>Control the brightness setting in the active scheme</string>
</property>
</widget>
<widget class="Line">
<property name="name">
<cstring>line1</cstring>
</property>
<property name="frameShape">
<enum>HLine</enum>
</property>
<property name="frameShadow">
<enum>Sunken</enum>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
</widget>
<widget class="QLayoutWidget">
<property name="name">
<cstring>layout6</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QLabel">
<property name="name">
<cstring>textLabel2</cstring>
</property>
<property name="text">
<string>When system is inactive for</string>
</property>
</widget>
<widget class="QSpinBox">
<property name="name">
<cstring>PerformanceMinutesSpin</cstring>
</property>
</widget>
<widget class="QLabel">
<property name="name">
<cstring>textLabel3</cstring>
</property>
<property name="text">
<string>minutes ...</string>
</property>
</widget>
<spacer>
<property name="name">
<cstring>spacer4</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>311</width>
<height>21</height>
</size>
</property>
</spacer>
</hbox>
</widget>
<widget class="QLayoutWidget">
<property name="name">
<cstring>layout3</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QRadioButton">
<property name="name">
<cstring>PerformanceNothing</cstring>
</property>
<property name="text">
<string>Do nothing</string>
</property>
</widget>
<widget class="QRadioButton">
<property name="name">
<cstring>PerformanceFade</cstring>
</property>
<property name="text">
<string>Fade display</string>
</property>
</widget>
<widget class="QRadioButton">
<property name="name">
<cstring>PerformanceSleepmode</cstring>
</property>
<property name="text">
<string>Initiate sleepmode</string>
</property>
</widget>
<widget class="QComboBox">
<item>
<property name="text">
<string>Hibernate (S4)</string>
</property>
</item>
<item>
<property name="text">
<string>Standby (S3)</string>
</property>
</item>
<property name="name">
<cstring>PerformanceSleepmodeCombo</cstring>
</property>
</widget>
</hbox>
</widget>
</vbox>
</widget>
<widget class="QGroupBox">
<property name="name">
<cstring>AutomaticGroup</cstring>
</property>
<property name="title">
<string>Automatic</string>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QLayoutWidget">
<property name="name">
<cstring>layout4_3</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QLabel">
<property name="name">
<cstring>textLabel1_3</cstring>
</property>
<property name="text">
<string>Brightness</string>
</property>
</widget>
<spacer>
<property name="name">
<cstring>spacer3_3</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>551</width>
<height>21</height>
</size>
</property>
</spacer>
</hbox>
</widget>
<widget class="QSlider">
<property name="name">
<cstring>AutomaticBrightnessSlider</cstring>
</property>
<property name="maxValue">
<number>10</number>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="tickmarks">
<enum>Both</enum>
</property>
<property name="whatsThis" stdset="0">
<string>Control the brightness setting in the active scheme</string>
</property>
</widget>
<widget class="Line">
<property name="name">
<cstring>line1_3</cstring>
</property>
<property name="frameShape">
<enum>HLine</enum>
</property>
<property name="frameShadow">
<enum>Sunken</enum>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
</widget>
<widget class="QLayoutWidget">
<property name="name">
<cstring>layout6_3</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QLabel">
<property name="name">
<cstring>textLabel2_3</cstring>
</property>
<property name="text">
<string>When system is inactive for</string>
</property>
</widget>
<widget class="QSpinBox">
<property name="name">
<cstring>AutomaticMinutesSpin</cstring>
</property>
</widget>
<widget class="QLabel">
<property name="name">
<cstring>textLabel3_3</cstring>
</property>
<property name="text">
<string>minutes ...</string>
</property>
</widget>
<spacer>
<property name="name">
<cstring>spacer4_3</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>311</width>
<height>21</height>
</size>
</property>
</spacer>
</hbox>
</widget>
<widget class="QLayoutWidget">
<property name="name">
<cstring>layout3_3</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QRadioButton">
<property name="name">
<cstring>AutomaticNothing</cstring>
</property>
<property name="text">
<string>Do nothing</string>
</property>
</widget>
<widget class="QRadioButton">
<property name="name">
<cstring>AutomaticFade</cstring>
</property>
<property name="text">
<string>Fade display</string>
</property>
</widget>
<widget class="QRadioButton">
<property name="name">
<cstring>AutomaticSleepmode</cstring>
</property>
<property name="text">
<string>Initiate sleepmode</string>
</property>
</widget>
<widget class="QComboBox">
<item>
<property name="text">
<string>Hibernate (S4)</string>
</property>
</item>
<item>
<property name="text">
<string>Standby (S3)</string>
</property>
</item>
<property name="name">
<cstring>AutomaticSleepmodeCombo</cstring>
</property>
</widget>
</hbox>
</widget>
</vbox>
</widget>
<widget class="QGroupBox">
<property name="name">
<cstring>PowersaveGroup</cstring>
</property>
<property name="title">
<string>Powersave</string>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QLayoutWidget">
<property name="name">
<cstring>layout4_2</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QLabel">
<property name="name">
<cstring>textLabel1_2</cstring>
</property>
<property name="text">
<string>Brightness</string>
</property>
</widget>
<spacer>
<property name="name">
<cstring>spacer3_2</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>551</width>
<height>21</height>
</size>
</property>
</spacer>
</hbox>
</widget>
<widget class="QSlider">
<property name="name">
<cstring>PowersaveBrightnessSlider</cstring>
</property>
<property name="maxValue">
<number>10</number>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="tickmarks">
<enum>Both</enum>
</property>
<property name="whatsThis" stdset="0">
<string>Control the brightness setting in the active scheme</string>
</property>
</widget>
<widget class="Line">
<property name="name">
<cstring>line1_2</cstring>
</property>
<property name="frameShape">
<enum>HLine</enum>
</property>
<property name="frameShadow">
<enum>Sunken</enum>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
</widget>
<widget class="QLayoutWidget">
<property name="name">
<cstring>layout6_2</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QLabel">
<property name="name">
<cstring>textLabel2_2</cstring>
</property>
<property name="text">
<string>When system is inactive for</string>
</property>
</widget>
<widget class="QSpinBox">
<property name="name">
<cstring>PowersaveMinutesSpin</cstring>
</property>
</widget>
<widget class="QLabel">
<property name="name">
<cstring>textLabel3_2</cstring>
</property>
<property name="text">
<string>minutes ...</string>
</property>
</widget>
<spacer>
<property name="name">
<cstring>spacer4_2</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>311</width>
<height>21</height>
</size>
</property>
</spacer>
</hbox>
</widget>
<widget class="QLayoutWidget">
<property name="name">
<cstring>layout3_2</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QRadioButton">
<property name="name">
<cstring>PowersaveNothing</cstring>
</property>
<property name="text">
<string>Do nothing</string>
</property>
</widget>
<widget class="QRadioButton">
<property name="name">
<cstring>PowersaveFade</cstring>
</property>
<property name="text">
<string>Fade display</string>
</property>
</widget>
<widget class="QRadioButton">
<property name="name">
<cstring>PowersaveSleepmode</cstring>
</property>
<property name="text">
<string>Initiate sleepmode</string>
</property>
</widget>
<widget class="QComboBox">
<item>
<property name="text">
<string>Hibernate (S4)</string>
</property>
</item>
<item>
<property name="text">
<string>Standby (S3)</string>
</property>
</item>
<property name="name">
<cstring>PowersaveSleepmodeCombo</cstring>
</property>
</widget>
</hbox>
</widget>
</vbox>
</widget>
</vbox>
</widget>
<widget class="QWidget">
<property name="name">
<cstring>Widget9</cstring>
</property>
<attribute name="title">
<string>Events</string>
</attribute>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<spacer row="1" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>spacer9</cstring>
</property>
<property name="orientation">
<enum>Vertical</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>520</width>
<height>260</height>
</size>
</property>
</spacer>
<spacer row="0" column="1">
<property name="name">
<cstring>spacer10</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>110</width>
<height>80</height>
</size>
</property>
</spacer>
<widget class="QLayoutWidget" row="0" column="0">
<property name="name">
<cstring>layout17</cstring>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QComboBox" row="1" column="1">
<item>
<property name="text">
<string>Do nothing</string>
</property>
</item>
<item>
<property name="text">
<string>Switch to Performance</string>
</property>
</item>
<item>
<property name="text">
<string>Switch to Automatic</string>
</property>
</item>
<item>
<property name="text">
<string>Switch to Powersave</string>
</property>
</item>
<item>
<property name="text">
<string>Suspend (S3)</string>
</property>
</item>
<item>
<property name="text">
<string>Hibernate (S4)</string>
</property>
</item>
<property name="name">
<cstring>ACPluggedinCombo</cstring>
</property>
</widget>
<widget class="QLayoutWidget" row="2" column="0">
<property name="name">
<cstring>layout16</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QLabel">
<property name="name">
<cstring>textLabel7</cstring>
</property>
<property name="text">
<string>When battery power is below</string>
</property>
</widget>
<widget class="QSpinBox">
<property name="name">
<cstring>BatteryLowPercentage</cstring>
</property>
</widget>
<widget class="QLabel">
<property name="name">
<cstring>textLabel8</cstring>
</property>
<property name="text">
<string>%</string>
</property>
</widget>
</hbox>
</widget>
<widget class="QLabel" row="0" column="0">
<property name="name">
<cstring>textLabel4</cstring>
</property>
<property name="text">
<string>When AC adapter is removed</string>
</property>
</widget>
<widget class="QComboBox" row="2" column="1">
<item>
<property name="text">
<string>Do nothing</string>
</property>
</item>
<item>
<property name="text">
<string>Switch to Performance</string>
</property>
</item>
<item>
<property name="text">
<string>Switch to Automatic</string>
</property>
</item>
<item>
<property name="text">
<string>Switch to Powersave</string>
</property>
</item>
<item>
<property name="text">
<string>Suspend (S3)</string>
</property>
</item>
<item>
<property name="text">
<string>Hibernate (S4)</string>
</property>
</item>
<property name="name">
<cstring>BatteryLowCombo</cstring>
</property>
</widget>
<widget class="QLabel" row="1" column="0">
<property name="name">
<cstring>textLabel6</cstring>
</property>
<property name="text">
<string>When AC adapter is plugged in</string>
</property>
</widget>
<widget class="QComboBox" row="3" column="1">
<item>
<property name="text">
<string>Do nothing</string>
</property>
</item>
<item>
<property name="text">
<string>Switch to Performance</string>
</property>
</item>
<item>
<property name="text">
<string>Switch to Automatic</string>
</property>
</item>
<item>
<property name="text">
<string>Switch to Powersave</string>
</property>
</item>
<item>
<property name="text">
<string>Suspend (S3)</string>
</property>
</item>
<item>
<property name="text">
<string>Hibernate (S4)</string>
</property>
</item>
<property name="name">
<cstring>LidCloseCombo</cstring>
</property>
</widget>
<widget class="QLabel" row="3" column="0">
<property name="name">
<cstring>textLabel5</cstring>
</property>
<property name="text">
<string>When the lid is closed</string>
</property>
</widget>
<widget class="QComboBox" row="0" column="1">
<item>
<property name="text">
<string>Do nothing</string>
</property>
</item>
<item>
<property name="text">
<string>Switch to Performance</string>
</property>
</item>
<item>
<property name="text">
<string>Switch to Automatic</string>
</property>
</item>
<item>
<property name="text">
<string>Switch to Powersave</string>
</property>
</item>
<item>
<property name="text">
<string>Suspend (S3)</string>
</property>
</item>
<item>
<property name="text">
<string>Hibernate (S4)</string>
</property>
</item>
<property name="name">
<cstring>ACRemovedCombo</cstring>
</property>
</widget>
</grid>
</widget>
</grid>
</widget>
</widget>
<widget class="QLayoutWidget">
<property name="name">
<cstring>Layout1</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>0</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<widget class="QPushButton">
<property name="name">
<cstring>buttonHelp</cstring>
</property>
<property name="text">
<string>&amp;Help</string>
</property>
<property name="accel">
<string>F1</string>
</property>
<property name="autoDefault">
<bool>true</bool>
</property>
</widget>
<spacer>
<property name="name">
<cstring>Horizontal Spacing2</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
<widget class="QPushButton">
<property name="name">
<cstring>buttonOk</cstring>
</property>
<property name="text">
<string>&amp;OK</string>
</property>
<property name="accel">
<string></string>
</property>
<property name="autoDefault">
<bool>true</bool>
</property>
<property name="default">
<bool>true</bool>
</property>
</widget>
<widget class="QPushButton">
<property name="name">
<cstring>buttonCancel</cstring>
</property>
<property name="text">
<string>&amp;Cancel</string>
</property>
<property name="accel">
<string></string>
</property>
<property name="autoDefault">
<bool>true</bool>
</property>
</widget>
</hbox>
</widget>
</vbox>
</widget>
<connections>
<connection>
<sender>buttonOk</sender>
<signal>clicked()</signal>
<receiver>Powermanager</receiver>
<slot>accept()</slot>
</connection>
<connection>
<sender>buttonCancel</sender>
<signal>clicked()</signal>
<receiver>Powermanager</receiver>
<slot>reject()</slot>
</connection>
</connections>
<layoutdefaults spacing="6" margin="11"/>
</UI>

@ -1,6 +0,0 @@
#!/bin/bash
pyuic -tr i18n tooltip.ui -o tooltip.py
pyuic -tr i18n guidance_power_manager_ui.ui -o guidance_power_manager_ui.py
pyuic -tr i18n notify.ui -o notify.py

@ -1,53 +0,0 @@
<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
<class>ToolTip</class>
<comment>Python:from tdeui import *</comment>
<widget class="TQWidget">
<property name="name">
<cstring>ToolTip</cstring>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>300</width>
<height>80</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>3</hsizetype>
<vsizetype>3</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>240</width>
<height>0</height>
</size>
</property>
<property name="baseSize">
<size>
<width>200</width>
<height>0</height>
</size>
</property>
<property name="caption">
<string>Form1</string>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>0</number>
</property>
</vbox>
</widget>
<slots>
<slot>ToolTip_destroyed( TQObject * )</slot>
</slots>
<pixmapfunction>TQPixmap</pixmapfunction>
<layoutdefaults spacing="6" margin="11"/>
</UI>

@ -40,7 +40,7 @@ def doit():
'kde/userconfig/pics/16x16/userconfig.png',
'kde/wineconfig/pics/16x16/wineconfig.svg'])],
i18n = ('po',['mountconfig','userconfig','serviceconfig','wineconfig','powermanager']),
i18n = ('po',['mountconfig','userconfig','serviceconfig','wineconfig']),
application_data = [('pics',
['kde/serviceconfig/pics/laserwarn.png',
@ -76,52 +76,7 @@ def doit():
'kde/mountconfig/pics/tux.png',
'kde/mountconfig/pics/user.png',
'kde/wineconfig/pics/32-wine.png',
'kde/wineconfig/pics/kdewinewizard.png',
'kde/powermanager/pics/ac-adapter.png',
'kde/powermanager/pics/ac-adapter.svg',
'kde/powermanager/pics/battery-charging-000.png',
'kde/powermanager/pics/battery-charging-010.png',
'kde/powermanager/pics/battery-charging-020.png',
'kde/powermanager/pics/battery-charging-030.png',
'kde/powermanager/pics/battery-charging-040.png',
'kde/powermanager/pics/battery-charging-050.png',
'kde/powermanager/pics/battery-charging-060.png',
'kde/powermanager/pics/battery-charging-070.png',
'kde/powermanager/pics/battery-charging-090.png',
'kde/powermanager/pics/battery_charging_0.svg',
'kde/powermanager/pics/battery-charging-100.png',
'kde/powermanager/pics/battery_charging_1.svg',
'kde/powermanager/pics/battery_charging_2.svg',
'kde/powermanager/pics/battery_charging_3.svg',
'kde/powermanager/pics/battery_charging_4.svg',
'kde/powermanager/pics/battery_charging_5.svg',
'kde/powermanager/pics/battery_charging_6.svg',
'kde/powermanager/pics/battery_charging_7.svg',
'kde/powermanager/pics/battery_charging_8.svg',
'kde/powermanager/pics/battery_charging_9.svg',
'kde/powermanager/pics/battery-discharging-000.png',
'kde/powermanager/pics/battery-discharging-010.png',
'kde/powermanager/pics/battery-discharging-020.png',
'kde/powermanager/pics/battery-discharging-020.svg',
'kde/powermanager/pics/battery-discharging-030.png',
'kde/powermanager/pics/battery-discharging-040.png',
'kde/powermanager/pics/battery-discharging-050.png',
'kde/powermanager/pics/battery-discharging-060.png',
'kde/powermanager/pics/battery-discharging-070.png',
'kde/powermanager/pics/battery-discharging-090.png',
'kde/powermanager/pics/battery_discharging_0.svg',
'kde/powermanager/pics/battery-discharging-100.png',
'kde/powermanager/pics/battery_discharging_1.svg',
'kde/powermanager/pics/battery_discharging_2.svg',
'kde/powermanager/pics/battery_discharging_3.svg',
'kde/powermanager/pics/battery_discharging_4.svg',
'kde/powermanager/pics/battery_discharging_5.svg',
'kde/powermanager/pics/battery_discharging_6.svg',
'kde/powermanager/pics/battery_discharging_7.svg',
'kde/powermanager/pics/battery_discharging_8.svg',
'kde/powermanager/pics/battery_discharging_9.svg',
'kde/powermanager/pics/processor.png',
'kde/powermanager/pics/processor.svg']),
'kde/wineconfig/pics/kdewinewizard.png']),
'serviceconfig/serviceconfig.py',
'userconfig/userconfig.py',
'userconfig/unixauthdb.py',
@ -136,11 +91,6 @@ def doit():
'wineconfig/wineread.py',
'wineconfig/winewrite.py',
'wineconfig/drivedetect.py',
'powermanager/guidance-power-manager.py',
'powermanager/powermanage.py',
'powermanager/gpmhelper.py',
'powermanager/guidance_power_manager_ui.ui',
'powermanager/powermanager_ui.ui',
'grubconfig/grubconfig.py'],
kcontrol_modules = [ \

Loading…
Cancel
Save