From 252a5a6c477ee0b394b34dce5f77265006ae2010 Mon Sep 17 00:00:00 2001 From: zecke Date: Mon, 28 Nov 2005 20:47:57 +0000 Subject: 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. --- (limited to 'core/applets') 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 @@ -27,7 +27,8 @@ void BatteryStatus::UpdateBatteryStatus() { jackPercent = 0; if ( ODevice::inst ( )-> series ( ) == Model_iPAQ ) { - getProcApmStatusIpaq(); + if ( ODevice::inst ( ) -> model() != Model_iPAQ_H191x ) + getProcApmStatusIpaq(); } percent = ps->batteryPercentRemaining(); } -- cgit v0.9.0.2