android-porting is the right list for this.

The framework should not shut down if battery level is unknown. If someone
could submit a gerrit patch to fix this it would be appreciated. We've
noticed this as well during bringup :)

Nick

2009/4/29 BigBear <[email protected]>

>
> I also have this problem when porting cupcake to VersatilePB.
> The reason may be that no battery and power soruce can be detected by
> system.
> (battery level =0 and unknown charging status)
> So ShutdownThread is invoked by KeyguardUpdateMonitor to power off the
> system.
>
> Please comment line 300 of "frameworks/policies/base/phone/com/android/
> internal/policy/impl/KeyguardUpdateMonitor"
> and make again to get the new rootfs.
> Then the battery check can be avoided when booting.
>
> On 4月25日, 下午5時37分, 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
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to