Solution for power off problem:
consider the file:
"frameworks/base/services/java/com/android/server/BatteryService.java"
Add the following line in the above file in the function sendIntent():
(Approx line : 100)
mBatteryLevel = 100;

Build the Android source with the above change and check it.
It will work 100%.

Regards,
Vinay r Rao

On 6/12/09, xro <[email protected]> wrote:
>
> hi...
>
> I know the power problem ;)
>
> so, you have to modify your com_android_server_BatteryService.cpp.
> This file is in your Android environment (mydroid).... there is a
> patch somewhere...
>
> after that you have to build mydroid again... (make)
> >
>


-- 
VINAY.R.RAO

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to