An Pixel XL phone shutdown by itself


Question

My Pixel XL phone rencently always turns off by itself. Most times it turned off just after starting up, a few times it worked longer and everything looks fine. when it happend, a "phone is shuting down"(maybe not exactly these words because my phone is not in english) dialog pop up and then shut down in a few seconds.



I tried restoring it to factory image, and tried replace a new battery, and had not fix this.



I got the log using "adb logcat", here is it : full log file



Now I think its because of a hardware part, but seems not battery. I want to find out which hardware part is it from the log file, but I don't know much about the log messages, can anyone help to find some clues about what cause the auto-shutdown? Thank you very much!



John.


Answer

Based on the provided logcat it seems like the shutdown is initiated by the healthd that manages for example the battery status:



healthd : battery l=63 v=3913 t=72.7 h=3 st=2 c=5 chg=u


This line contains two values of interest:




  1. h=3 is the battery health value and the value 3 means BATTERY_HEALTH_OVERHEAT.

  2. t=72.7 is the battery temperature in Celsius. This value is quite high taking it as temperature in Celsius as Android does. Hence I would assume that the battery provides the temperature in Fahrenheit but the device expects a Celsius value and therefore thinks that the battery temperature is very high. The default shutdown temperature in Android is 68°C.



What I not really understand is that all healthd message contain the h=3 value even if the temperature is lower. May be this value also reflects past temperature states.



Note: Internally Android does not directly use the temperature in Celsius, instead it uses Centigrade (Celsius * 10).



At the moment I would recommend to do the following test: Pack your phone into a water proof box and place it for some minutes in he refrigerator (make sure you use the part that has more than 0°C, you just want to cool down the device not freeze it!).
Then get it out of the fridge and start it, and measure the run-time until it shuts down. The time should be larger than before.


Topics


2D Engines   3D Engines   9-Patch   Action Bars   Activities   ADB   Advertisements   Analytics   Animations   ANR   AOP   API   APK   APT   Architecture   Audio   Autocomplete   Background Processing   Backward Compatibility   Badges   Bar Codes   Benchmarking   Bitmaps   Bluetooth   Blur Effects   Bread Crumbs   BRMS   Browser Extensions   Build Systems   Bundles   Buttons   Caching   Camera   Canvas   Cards   Carousels   Changelog   Checkboxes   Cloud Storages   Color Analysis   Color Pickers   Colors   Comet/Push   Compass Sensors   Conferences   Content Providers   Continuous Integration   Crash Reports   Credit Cards   Credits   CSV   Curl/Flip   Data Binding   Data Generators   Data Structures   Database   Database Browsers   Date &   Debugging   Decompilers   Deep Links   Dependency Injections   Design   Design Patterns   Dex   Dialogs   Distributed Computing   Distribution Platforms   Download Managers   Drawables   Emoji   Emulators   EPUB   Equalizers &   Event Buses   Exception Handling   Face Recognition   Feedback &   File System   File/Directory   Fingerprint   Floating Action   Fonts   Forms   Fragments   FRP   FSM   Functional Programming   Gamepads   Games   Geocaching   Gestures   GIF   Glow Pad   Gradle Plugins   Graphics   Grid Views   Highlighting   HTML   HTTP Mocking   Icons   IDE   IDE Plugins   Image Croppers   Image Loaders   Image Pickers   Image Processing   Image Views   Instrumentation   Intents   Job Schedulers   JSON   Keyboard   Kotlin   Layouts   Library Demos   List View   List Views   Localization   Location   Lock Patterns   Logcat   Logging   Mails   Maps   Markdown   Mathematics   Maven Plugins   MBaaS   Media   Menus   Messaging   MIME   Mobile Web   Native Image   Navigation   NDK   Networking   NFC   NoSQL   Number Pickers   OAuth   Object Mocking   OCR Engines   OpenGL   ORM   Other Pickers   Parallax List   Parcelables   Particle Systems   Password Inputs   PDF   Permissions   Physics Engines   Platforms   Plugin Frameworks   Preferences   Progress Indicators   ProGuard   Properties   Protocol Buffer   Pull To   Purchases   Push/Pull   QR Codes   Quick Return   Radio Buttons   Range Bars   Ratings   Recycler Views   Resources   REST   Ripple Effects   RSS   Screenshots   Scripting   Scroll Views   SDK   Search Inputs   Security   Sensors   Services   Showcase Views   Signatures   Sliding Panels   Snackbars   SOAP   Social Networks   Spannable   Spinners   Splash Screens   SSH   Static Analysis   Status Bars   Styling   SVG   System   Tags   Task Managers   TDD &   Template Engines   Testing   Testing Tools   Text Formatting   Text Views   Text Watchers   Text-to   Toasts   Toolkits For   Tools   Tooltips   Trainings   TV   Twitter   Updaters   USB   User Stories   Utils   Validation   Video   View Adapters   View Pagers   Views   Watch Face   Wearable Data   Wearables   Weather   Web Tools   Web Views   WebRTC   WebSockets   Wheel Widgets   Wi-Fi   Widgets   Windows   Wizards   XML   XMPP   YAML   ZIP Codes