Powering Samsung Galaxy J7 using an external DC power supply


Question

I would like to turn on Samsung Galaxy J7 using an external power supply. The problem is that it uses 4 pins (+,*,-,*) to connect to its battery. The first pin is the positive and the third one is negative, the other two I think are used to transfer data to the battery.



Pin



When I connect my external power supply to the positive and negative pins, the smartphone stays on just for a few seconds, then it shows a message that the battery is low and turn off.



Can anyone help me how to cheat the smartphone in order to make it "think" that my external power supply is its battery?


Answer

It is possible to "cheat" the mobile into thinking that is connected to battery, while it is in fact connected to external power supply


How to use phone without battery provides instructions on doing it and has a 4 pin configuration as on your device. I am not elaborating on the details involved as



  1. This is not a standard method and more of hobbyist/ DIY project

  2. I would not recommend any methods that are different from OEM specified. Battery Charging is fairly complex and attempting to replicate by such methods can cause harm to battery/ battery life / device besides being a safety hazard.


Drawbacks


To give you an idea of what typical OEM battery charging does and what you would not be able to implement (since you don't know how the drivers are designed):



The IC (fuel guage IC) monitors a voltage drop across a small current sense resistor connected in series with the battery to determine charge and discharge activity of the battery. Compensations for battery temperature, self-discharge, and discharge rate are applied to the capacity measurments to provide available time-to-empty information across a wide range of operating conditions.


Battery capacity is automatically recalibrated, or learned, in the course of a discharge cycle from full to empty. Internal registers include current, capacity, time-to-empty, state-of-charge, cell temperature and voltage, status, and more.



What does it mean if you can't implement these features (listed above)?


Li-ION batteries have four stages of battery charging- Constant Current,
Saturation (Constant Voltage), Ready (No Current) and Standby
. The battery charging hardware and OS is tuned to ensure that the battery spends required time with appropriate Voltage and Current levels in each of these stages to ensure proper charging


Charging directly by external power supply cannot achieve this resulting in Short term- Battery not delivering rated capacity for every charge and Long term - reduced life of battery. To understand more about Li Ion charging, see BU-409: Charging Lithium-ion


Related: For getting an understanding on the possible reasons for have 4 pins, see Why does this mobile phone have 4 terminals. Unless you have the specific pin out diagram for your battery, you can't be sure of the reason for fourth pin (my guess is NFC related). This is the only source I am aware of for getting pin out diagrams


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