A charging and discharging method for lithium-ion and lithium-polymer batteries determines overcharged, undercharged, normal and degraded operating conditions and adjusts a recharge fraction of recharge capacity to discharge capacity for improving battery life while maintaining the battery cells at a high charge state.