The framework assumes that if it can't get the battery level then the
battery level is zero, and shuts down. This is bad framework behavior,
but you can workaround by providing a battery level. I don't know off
the top of my head what interface this uses, but I have a feeling
UEvent may be involved.

Nick

On Sat, Apr 25, 2009 at 2:34 AM, John <[email protected]> wrote:
>
> Hello friends,
>                 I downloded the latest Android opensource 1.5 (API
> level 3) dated 24-April-2009  from GIT and compiled for to boot with
> the omap 2430 board.But after the Android logo am getting system
> halted message in the minicom and in target lcd it displays as the
> battery is getting low less than 15% remaining and then the power off
> msg comes and the system hangs there.
>
> Any help would be highly appreciated.
>
>
> logcat message for system halting
>
> D/ActivityManager(  565): Start running!
> I/Zygote  (  565): Process: zygote socket opened
> I/ActivityManager(  565): Start proc com.android.phone for added
> application com.android.phone: pid=602 uid=1001 gids={3002, 3001,
> 3003}
> I/ActivityManager(  565): Start proc android.process.acore for
> activity com.android.launcher/.Launcher: pid=604 uid=10000 gids={3003}
> D/ShutdownThread(  565): Notifying thread to start radio shutdown
> W/ResourceType(  565): No package identifier when getting value for
> resource number 0x00000000
> W/StatusBar(  565): Icon not found in <system>: 0
> D/ShutdownThread(  565): Radio aSystem halted.
> nd Bluetooth shutdown complete.
> D/ShutdownThread(  565): Shutting down power.
> I/ActivityThread(  604): Publishing provider user_dictionary:
> com.android.providers.userdictionary.UserDictionaryProvider
> D/StatusBar(  565): updateResources
> I/ActivityThread(  604): Publishing provider
> com.android.googlesearch.SuggestionProvider:
> com.android.googlesearch.SuggestionProvider
> I/ActivityThread(  602): Publishing provider mms-sms:
> com.android.providers.telephony.MmsSmsProvider
> I/ActivityThread(  604): Publishing provider contacts;call_log:
> com.android.providers.contacts.ContactsProvider
> I/ActivityThread(  602): Publishing provider mms:
> com.android.providers.telephony.MmsProvider
> I/ActivityThread(  602): Publishing provider telephony:
> com.android.providers.telephony.TelephonyProvider
> I/ActivityThread(  602): Publishing provider sms:
> com.android.providers.telephony.SmsProvider
> I/ActivityThread(  602): Publishing provider sim:
> com.android.phone.SimProvider
> W/ActivityManager(  565): Unable to start service Intent
> { action=android.accounts.IAccountsService comp=
> {com.google.android.googleapps/
> com.google.android.googleapps.GoogleLoginService} }: not found
> W/AccountMonitor(  604): Couldn't connect to Intent
> { action=android.accounts.IAccountsService comp=
> {com.google.android.googleapps/
> com.google.android.googleapps.GoogleLoginService} } (Missing service?)
> I/ActivityThread(  604): Publishing provider
> com.android.launcher.settings: com.android.launcher.LauncherProvider
> E/ApplicationContext(  604): Couldn't rename file /data/data/
> com.android.launcher/shared_prefs/launcher.xml to backup file /data/
> data/com.android.launcher/shared_prefs/launcher.xml.bak
>
> >
>

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

Reply via email to