element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
element14's The Ben Heck Show
  • Challenges & Projects
  • element14 presents
  • element14's The Ben Heck Show
  • More
  • Cancel
element14's The Ben Heck Show
Forum Automatically Battery Disconnect
  • Blog
  • Forum
  • Documents
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join element14's The Ben Heck Show to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 9 replies
  • Subscribers 33 subscribers
  • Views 784 views
  • Users 0 members are here
Related

Automatically Battery Disconnect

Former Member
Former Member over 12 years ago

It is recommended that for optimal operation a battery (laptop, phone etc.) must be maintained at a charge between 40$-80% never more, never less.

 

I am trying to build a circuit that hooks on to either my laptop charger or my phone charger and is able to ready the present battery status and turns on or turns off the charger based on if the present charge is less that 40% or more than 80%. It seems like a firly easy thing to implement but I haven't come across any mention of this on the internet. I would appreciate any help with this.

 

Varun

  • Sign in to reply
  • Cancel
Parents
  • jaykretsch
    0 jaykretsch over 12 years ago

    I Think a good approach would be to monitor the current being consumed by the existing battery charger.  Battery chargers for lithium batteries are constant current source. The current should drop sharply when the battery becomes fully charged.  Breaking the circuit at that point would stop any top off charges tha follow. 

    This method also makes construction easy since a small circuit can be installed into a short cords receptical.  A torrid and an op amp can detect the current drawn.  A relay driven by a 2N2222A2N2222A transistor can be controlled by a 7474 flip flop.  Then the dropping current when the battery gets fully charged will generate a pulse that can be used to change the state of the flip flop and de-energize the charger that is plugged into the cord.   To reset the cord could be unplugged and plugged into the wall again.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • jaykretsch
    0 jaykretsch over 12 years ago

    I Think a good approach would be to monitor the current being consumed by the existing battery charger.  Battery chargers for lithium batteries are constant current source. The current should drop sharply when the battery becomes fully charged.  Breaking the circuit at that point would stop any top off charges tha follow. 

    This method also makes construction easy since a small circuit can be installed into a short cords receptical.  A torrid and an op amp can detect the current drawn.  A relay driven by a 2N2222A2N2222A transistor can be controlled by a 7474 flip flop.  Then the dropping current when the battery gets fully charged will generate a pulse that can be used to change the state of the flip flop and de-energize the charger that is plugged into the cord.   To reset the cord could be unplugged and plugged into the wall again.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
  • Former Member
    0 Former Member over 12 years ago in reply to jaykretsch

    Thanks for your reply Jay, but as I said I want to disconnect it at 80% of its full charge not at 100% and turn it on back again at 40%. This is what is recommended for optimum battery life to maintain the charge of the battery between 40%-80% of its full. You should be able to get the present charge status from the PC through a USB with an appropriate script.

     

    Varun

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • shabaz
    0 shabaz over 12 years ago in reply to Former Member

    Varun Ramesh wrote:

     

    This is what is recommended for optimum battery life to maintain the charge of the battery between 40%-80% of its full. You should be able to get the present charge status from the PC through a USB with an appropriate script.

     

    Varun

    Not if you're using it! If you are querying the battery status via USB then the PC is on.. So why chew up battery charge cycles for no reason?

     

    It's one thing having a battery charged to 40-80% of capacity, but another thing actually running the laptop until the battery drops to 40% and then charging it again.. You're using battery cycles for no reason.

     

    Better to actually let the PC stop charging the battery and let the PC run off the mains adapter.

     

    Or if you're still worried, just physically detach the battery and run your laptop off the mains power.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 12 years ago in reply to shabaz

    Well my laptop has a primitive battery control system and does not turn off the power when its fully charged.

     

    At the end of the day its a trade off right? If I imporve my battery life by maintaining charge between 40-80% even though I use up battery cylces I still emerge a winner as compared to if I do nothing about it.

    I'm too worried about my battery, its just something I would be interested to do and see if it actually makes any difference.

     

    Varun

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube