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