author | zecke <zecke> | 2005-11-28 20:47:57 (UTC) |
---|---|---|
committer | zecke <zecke> | 2005-11-28 20:47:57 (UTC) |
commit | 252a5a6c477ee0b394b34dce5f77265006ae2010 (patch) (unidiff) | |
tree | 40e77d6f37873555c0cda0622e888e447f26c198 | |
parent | 6ed0ea6196d210847c041dfd1229b4f2db71b152 (diff) | |
download | opie-252a5a6c477ee0b394b34dce5f77265006ae2010.zip opie-252a5a6c477ee0b394b34dce5f77265006ae2010.tar.gz opie-252a5a6c477ee0b394b34dce5f77265006ae2010.tar.bz2 |
Opie Battery Applet for h19??:
Patch by Pawel Kolodziejski (thank you once again) to
make this applet work with the specific iPAQ model.
It uses a 2.6kernel and there is no iPAQ specific
prof file anymore, I think this device is not even
capable of having a sleeve.
-rw-r--r-- | core/applets/batteryapplet/batterystatus.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/applets/batteryapplet/batterystatus.cpp b/core/applets/batteryapplet/batterystatus.cpp index 34043f4..08ddc85 100644 --- a/core/applets/batteryapplet/batterystatus.cpp +++ b/core/applets/batteryapplet/batterystatus.cpp | |||
@@ -26,9 +26,10 @@ void BatteryStatus::UpdateBatteryStatus() { | |||
26 | 26 | ||
27 | jackPercent = 0; | 27 | jackPercent = 0; |
28 | 28 | ||
29 | if ( ODevice::inst ( )-> series ( ) == Model_iPAQ ) { | 29 | if ( ODevice::inst ( )-> series ( ) == Model_iPAQ ) { |
30 | getProcApmStatusIpaq(); | 30 | if ( ODevice::inst ( ) -> model() != Model_iPAQ_H191x ) |
31 | getProcApmStatusIpaq(); | ||
31 | } | 32 | } |
32 | percent = ps->batteryPercentRemaining(); | 33 | percent = ps->batteryPercentRemaining(); |
33 | } | 34 | } |
34 | 35 | ||