
Battery NG
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
This is a modification of the original battery plasmoid of plasma desktop. It allows interpolation between battery states which effectivly provides a continuous bar instead of only 6 fill states.
10 years ago
0.2:
- added 4.5 version
0.1:
- initial release
10 years ago
0.2:
- added 4.5 version
0.1:
- initial release
Contrast
9 years ago
Any plans on updating this to work on the current version of KDE?
Report
Kame2
9 years ago
Report
molecule-eye
10 years ago
If anyone could offer up some help to this Kubuntu user, I'd be very grateful.
Report
molecule-eye
10 years ago
Report
bitcrazy
11 years ago
/home/ds/Download/battery-ng/battery.cpp: In constructor ‘Battery::Battery(QObject*, const QVariantList&)’:
/home/ds/Download/battery-ng/battery.cpp:103: error: ‘ActiveStatus’ is not a member of ‘Plasma’
/home/ds/Download/battery-ng/battery.cpp:103: error: ‘setStatus’ was not declared in this scope
/home/ds/Download/battery-ng/battery.cpp: In member function ‘void Battery::dataUpdated(const QString&, const QHash<QString, QVariant>&)’:
/home/ds/Download/battery-ng/battery.cpp:248: error: ‘PassiveStatus’ is not a member of ‘Plasma’
/home/ds/Download/battery-ng/battery.cpp:248: error: ‘setStatus’ was not declared in this scope
/home/ds/Download/battery-ng/battery.cpp:250: error: ‘NeedsAttentionStatus’ is not a member of ‘Plasma’
/home/ds/Download/battery-ng/battery.cpp:250: error: ‘setStatus’ was not declared in this scope
/home/ds/Download/battery-ng/battery.cpp:252: error: ‘ActiveStatus’ is not a member of ‘Plasma’
/home/ds/Download/battery-ng/battery.cpp:252: error: ‘setStatus’ was not declared in this scope
Releases for trunk don't help the average user at all. So please consider to have a version for current stable, too.
Regards
m0nk
Report
Kame2
11 years ago
Report
bitcrazy
11 years ago
Is there any chance to get the remaining time calculated instead of the percentage?
That would be more interesting in my opinion.
Regards
m0nk
Report
Kame2
11 years ago
see http://websvn.kde.org/trunk/KDE/kdebase/workspace/plasma/generic/applets/battery/battery.cpp?revision=978089&view=markup
More detailed:
- close plasma-desktop
- open ~/.kde4/share/config/plasma-desktop-appletsrc in a editor
- search for plugin=battery
you should see something like this:
[Containments][3][Applets][9]
geometry=2,689.5,35,35
immutability=1
plugin=battery
zvalue=270
[Containments][3][Applets][9][Configuration]
Share=false
- If here is no [Configuration] Section create it
- add the line showRemainingTime=true to this Section
- restart plasma-desktop
Report
Blahord
11 years ago
Report