Browse technical resources about solar mounting systems, tracker technology, structural design, and installation best practices.
HOME / Do You Have To Disconnect Battery For Hid Bulb Replacement - BeTheFuture Solar Foundation & Infrastructure
Buying a new car battery and replacing your old one isn't always straightforward. You need to find the right battery for your vehicle. And when fitting it, most modern car manufacturers need the battery to be coded to their system. It takes the hassle away when you choose a professional service. Our mobile mechanics will. You can use your car registration number to find the right battery for your vehicle. Just pop your number plate into our battery finder to see. Your battery replacement quote is based on: 1. The cost of the new battery for your vehicle, plus 2. The cost of fitting the new battery and removing the old one. Our price for fitting the new battery and disposing of the old one.
Stay safe and let us come to you. Our mobile Battery Assist service will replace your car battery wherever you are. Just book a date and time slot online. Book our car battery fitting at home, work or when you're out and about - we fit most replacement batteries on the same day.
A replacement battery (ensure it matches your vehicle's specifications). A wrench or socket set (typically 10mm for most battery terminals). Gloves and safety goggles. A battery terminal cleaner or wire brush. Anti-corrosion spray or petroleum jelly. Ensure your car is parked on a flat surface. Turn off the engine and remove the keys.
Just book a date and time slot online. Book our car battery fitting at home, work or when you're out and about - we fit most replacement batteries on the same day. We'll test your battery's health and if it needs replacing, we'll fit a leading brand like Bosch or Yuasa which include a 5 year warranty.
Buying a new car battery and replacing your old one isn't always straightforward. You need to find the right battery for your vehicle. And when fitting it, most modern car manufacturers need the battery to be coded to their system. It takes the hassle away when you choose a professional service.
Car batteries usually last around 5 years, depending on how you use your car. The car's not being driven often enough to charge the battery. There's a vehicle fault draining the battery or affecting charging. The battery's getting tired and may need replacing.
Your battery replacement quote is based on: The cost of fitting the new battery and removing the old one. Our price for fitting the new battery and disposing of the old one depends on your membership: Give us your number plate to get a quote and the mechanic will confirm it and take payment when they arrive.
The average Lithium RV battery costs between $350 to $700. Though the prices tend to come down over time as lithium material refining, technology and availability are improving rapidly.
By contrast, the average cost of an RV lithium battery in today's market can easily exceed $1300. If you are looking at initial cost alone, lead-acid batteries are still the way to go. But consider this: The average life span of a lead-acid battery is about five years while lithium RV batteries can last up to 10 times longer.
The reality of lithium RV batteries is that they are a worthwhile investment if you like to dry camp, boondocking, and and planning for long-term RV living & traveling. Consider that the average lead-acid battery is rated for about 400 charge-discharge cycles, and that's the high end.
You'll find lithium-ion batteries in most phones and laptops today. The lithium batteries that are highly popular for use in RVs are lithium iron phosphate batteries. These are top choices due to their long lifespan, low toxicity, high safety, and relatively lower cost. Lithium batteries are a game changer in terms of performance.
Yes, you can replace your RV battery with a lithium battery. You can easily upgrade to this popular option as long as the batteries have the same voltage. However, the one caveat comes down to the RV's charger. If your charger doesn't specifically support lithium batteries, it will still work but less efficiently.
But consider this: The average life span of a lead-acid battery is about five years while lithium RV batteries can last up to 10 times longer. That prompts us to do a little math. Let's say you stick to the lead-acid battery route and replace your battery every five years, on average.
RV lithium batteries offer up to 15% higher charging efficiency (on average). They can also be charged at a much higher amperage, which means they reach a full charge much faster than a lead-acid battery. Many of them also weigh half as much as a lead-acid battery with an equivalent energy rating.
The battery control module is responsible for monitoring and controlling the state of charge of the battery, as well as regulating the current and voltage supplied to the battery. It also manages communication between various systems in the vehicle and the battery. The battery control module also plays an important role in. It depends on the battery control module (BCM). Some modules do not need to be programmed, while others require a specific programming sequence in order to function properly. Always consult the manufacturer's. A body control module can be repaired. However, the extent of the damage will determine if the module can be fixed or not. If there is extensive damage to the circuit board, then it may not be possible to fix it. If this is the case,. The battery control module can be tested. The best way to test it is with a scan tool that is operated by a qualified/professional technician. A scan tool will allow you to read and clear any. The location of the battery control module may vary depending on the type of vehicle. Some common locations are under the hood, in the trunk, or in the passenger compartment.
[PDF Version]In conclusion, the battery control module repair is a process that is necessary in order to maintain the function of the battery and ensure that it continues to operate at an optimal level. By bringing your vehicle in for this repair, you can be sure that your car will continue to run smoothly without any problems.
If your battery control module is not functioning properly, you may need to send it in for repair. Some common symptoms of a BCM that are not properly programmed include reduced run time, reduced capacity, and even full discharge of the battery pack.
In some cases, we may need to replace battery modules individually if they fail, rather than replacing the entire battery pack. It's important to note that it is important to get your battery serviced by an EV qualified technician, like our technicians here at Cedar Electric to ensure it is done safely and correctly.
Some tips to maintain battery control module are: -Clean the battery control module connectors with a wire brush. -Make sure the battery control module is properly grounded. -Check the fuses and relays in the engine compartment. -Monitor the state of charge of the battery. -Keep the battery terminals clean. -Check the charging system voltage.
High voltage batteries on electric and hybrid vehicles can be costly and sometimes they can actually be repaired. If the only option you have been given is to replace the battery it is worth checking with us if there are other options available. Here at Cedar Garage we offer services to test and overhaul your original battery.
Battery cell replacement involves replacing individual cells within the hybrid battery pack that have failed or degraded. This method allows for targeted repairs, reducing waste and expense. It can also extend the overall battery life. However, it may be challenging due to the need for specialized knowledge and tools.
The liquid-filled lead acid batteries used in automobiles and a range of other products have many great qualities, but are also known to “go bad” with little warning. Fortunately, you can easily do a basic health checkup on any.
Lead acid batteries recharge in various manners based on their function and manner of installation. For a lead acid vehicle battery, drive the vehicle around for at least 20 minutes. For a lead acid battery connected to solar panels, let the battery charge fully on a sunny day.
Fortunately, you can easily do a basic health checkup on any type of lead acid battery by hooking it up to a simple-to-use digital voltmeter. If you have an open-cell battery that lets you access the liquid inside, you can do a more rigorous checkup with a battery hydrometer. Charge the battery fully, then let it rest for 4 hours.
The liquid-filled lead acid batteries used in automobiles and a range of other products have many great qualities, but are also known to “go bad” with little warning. Fortunately, you can easily do a basic health checkup on any type of lead acid battery by hooking it up to a simple-to-use digital voltmeter.
Lead-acid batteries are a type of rechargeable battery that uses lead and lead oxide electrodes submerged in an electrolyte solution of sulfuric acid and water. They are commonly used in vehicles, backup power supplies, and other applications that require a reliable and long-lasting source of energy.
To get a more accurate reading of a lead-acid battery's health, you can use a hydrometer. This tool measures the specific gravity of the electrolyte solution within the battery, which can give you a better idea of its state of charge and overall condition. Before using a hydrometer, it's important to make sure the battery is fully charged.
Checking an open-cell lead acid battery—that is, a lead acid battery with caps that can be opened to access the liquid inside—with a battery hydrometer is most accurate when the battery is fully charged. Closed-cell lead acid batteries without the access caps cannot be tested this way.
For the purposes of this document, the following terms and definitions apply; Power Generating Modules are categorised in EREC G99 as Power Park Modules (PPM) or Synchronous Power Generating Modules (SPGM). Both contain one or more. When you are ready to submit a formal application for connection, we will require information from you to enable us to make a reasonable assessment of the works required to facilitate the. Discussing your plans with us at an early stage can help to provide a better insight to any potential network reinforcement and complexity issues that. If you are not ready to enter into a formal agreement for connection works, or you do not yet have full details of the specific conditions required, you.
The characteristics that define an EV battery performance are listed below: 1. Battery Capacity 2. C-Rate 3. Weight 4. Size 5. Power In order to understand them in detail, keep on reading the article. Battery capacity or Energy capacity is the ability of a battery to deliver a certain amount of power over a while. It is measured in kilowatt-hours (product of voltage and ampere-hours). It determines the energy available to the. A C-rating is used to define the rate at which a battery is fully charged or discharged. For instance, when the vehicle with an 85kWh battery is. The size of the battery of an electric vehicle has its own significance. Energy per volume is important to building a compact EV. Volumetric energy density means an amount of energy contained within a certain volume.It. The major part of an EV's weight comes from its battery. In general gross weight of a passenger EV, varies from 600kg to 2600kg with the battery weight varying from 100kg to 550kg.
[PDF Version]There are four main types of batteries that are used in electric vehicles, namely ultracapacitors / supercapacitors, lead-acid batteries, nickel-metal hydride batteries and lithium-ion batteries. In the ultracapacitor polarized liquid is stored between an electrode and an electrocyte.
Li-ion batteries are the preferred choice for modern electric cars due to their advanced rechargeable battery technology. However, they are relatively expensive to produce compared to other battery types. Nickel-Metal Hydride (NiMH) batteries gained commercial use in the late 1980s.
Beyond their 1500 charges and useful lifespan in a vehicle, electric vehicle batteries can be used for energy storage where performance isn't so important. For example, they can be used in motorhomes to store solar power, or as a backup for a power cut in our homes. Why are electric car batteries so expensive?
An electric vehicle battery is a rechargeable battery used to power the electric motors of a battery electric vehicle (BEV) or hybrid electric vehicle (HEV). They are typically lithium-ion batteries that are designed for high power-to-weight ratio and energy density.
NiMH batteries are known for their recyclability and are proven to be a suitable option for EVs, with an average battery life of 5-7 years. Lead-Acid batteries, formulated in 1859, are the oldest type of battery still in use. They are known for their low cost but have a shorter lifespan of around 3 years.
Nowadays, Lithium-ion batteries are by far the most widely used, this is due to them recharging quickly, being robust against temperature changes, and being able to maintain power for long durations, with bursts of very high power.
These include:Ensuring batteries are separated from habitable rooms and escape routes by appropriate fire compartmentation. Providing fire detection for the battery location, linked to a fire alarm system to alert inhabitants of a fire.
To minimise the risk of batteries becoming a fire hazard, a new British Standard covering fire safety for home battery storage installations came into force on 31 March 2024. The standard is – PAS 63100:2024: Electrical installations. Protection against fire of battery energy storage systems (BESS) for use in dwellings.
With this in mind, it's reasonable to question the fire risks posed by home battery storage systems. As we explain below, home battery fire risk is not something you need to lose sleep over. Read on to find out more. Why do batteries catch fire? Li-on batteries are essential in modern society.
It should be noted that fires from domestic home energy storage batteries are extremely rare. Most Home energy batteries use Lithium Iron Phosphate technology (LiFePO4). Whilst this technology makes for a heavier battery, it is known to be very safe and does not catch fire under any normal circumstances.
In September 2020, the UK government published a review of safety risks related to domestic battery energy storage systems. In the document, it acknowledges that 'few incidents with domestic battery energy storage systems are known in the public domain'. At the same time, the report recognises that relevant safety measures need to be implemented.
Even though few incidents with domestic battery energy storage systems (BESSs) are known in the public domain, the use of large batteries in the domestic environment represents a safety hazard.
Battery energy storage systems (BESS), also known as Electrical Energy (Battery) Storage systems or solar batteries, are becoming increasingly popular for residential units with PV solar installations, and (although much less frequently) small wind-turbines¹.
When the electrolyte in a lithium-ion battery freezes, it can cause the formation of lithium metal on the surface of the electrodes inside the battery. This can create a physical barrier that prevents the flow of ions between the. To maximize the efficiency of a lithium-ion battery at low temperatures, there are several strategies that can be used: 1.Keep the battery warm: One of the most effective ways to maintain. The runtime of a lithium-ion battery depends on several factors, including the capacity of the battery, the power requirements of the device.
Low-temperature batteries are designed to maintain performance in cold environments. In contrast, standard batteries often experience reduced capacity and efficiency in low temperatures.
Battery certification plays a crucial role in ensuring the safety and performance of battery products across various industries. In this guide, we'll break down the essential certifications you need to know, including the types of certifications, the costs involved, expected timeframes, and the standards that govern them.
Low-temperature batteries may sacrifice some capacity or energy density to maintain performance in cold environments. In contrast, standard batteries typically offer higher capacity and energy density under normal operating conditions. Standard batteries may perform better in moderate temperatures but struggle in colder climates.
The lowest temperature at which most batteries can operate without damage is typically around -20 °C to -40 °C (- 4°F to 40°F). However, this can vary depending on the type of battery and its chemistry. What is the low temperature for a LiPo battery? LiPo batteries perform best at temperatures above 0°C (32°F).
LiFePO4 batteries can generally operate safely down to around -20°C. Beyond this temperature, their performance may decline, potentially damaging them. The low temperature li-ion battery solves energy storage in extreme conditions. This article covers its definition, benefits, limitations, and key uses.
In Europe, lithium-ion batteries must meet CE Marking requirements for safety, health, and environmental standards. Additional certifications like IEC 62133 or UN38.3 may be needed for transport and use. What to consider when choosing a certification body?
Marketing Battery StoresMake Your Business Stand Out Making your battery stores business stand out from the competition is essential for success. Take Advantage of Digital Platforms. Revolutionizing the Battery Store Business.
The marketing strategies you employ should highlight the unique aspects of your business, like your commitment to sustainable battery production and advanced technology. Here are essential strategies to consider: Identify Your Unique Value Proposition: Clearly articulate what sets your battery manufacturing company apart.
Here are 8 tips on how to market for the Battery Stores business: Develop an effective pricing and promotion strategy that will keep customers coming back. Make sure to advertise in the right channels and target the right audience. Create an attractive and engaging website that is user friendly.
Success in the battery stores business requires a comprehensive approach to marketing. You need to reach, engage and convert customers with an effective sales pitch and attractive visuals. To grow your business, you can use creative campaigns, such as e-mail blasts, social media posts, press releases and targeted ads.
Explore various funding options available for starting a battery manufacturing business, including government grants, private investors, and loans. Prepare to present your business plan to potential funders. Ensure compliance by registering your ev battery business and obtaining all necessary permits and licenses required in your area.
Sourcing materials that are eco-friendly and implementing responsible manufacturing practices are crucial for long-term success. A comprehensive business plan for your ev battery company should outline your production method, financial projections, and market analysis.
To successfully launch your ev battery manufacturing business, forming strategic partnerships with suppliers and distributors is essential. These relationships can provide you with the necessary resources and market access to operate efficiently and effectively.
Specific Steps for Regular MaintenanceRegular Monitoring of Battery Status: Use specialized equipment to measure the battery's voltage, internal resistance, capacity, and temperature. Inspect Cables and Connectors:. Maintain the Thermal Management System:.
Establishing an adequate battery maintenance procedure is essential for ensuring a productive & safe work environment. Charts and maintenance plans are a fantastic approach to ensuring that batteries are properly maintained. Battery maintenance is essential for ensuring their best performance and longevity.
Different types of batteries, such as lead-acid and lithium-ion, require specific maintenance techniques to ensure their longevity and performance. Knowing the type of battery you are working with is essential to guarantee the correct charging and maintenance techniques are employed.
Specific maintenance requirements will vary depending on the type of battery; however, the following are general step-by-step procedure that apply to many different types of batteries, including lead-acid batteries typically used in cars and uninterruptible power supply (UPS) systems. Step-2: Do Not Top Off Before Charging
From visual inspections & cleanliness to evaluating electrolyte levels (if appropriate), charging system tests, and load testing, this complete approach covers essential procedures for maintaining several battery types, including lead-acid & lithium-ion.
It is still important to check their state of charge regularly using a monitoring tool that interacts with the integrated battery management system. Proper charging practices, such as quick charging of the battery after each period of use, will also help maintain their performance.
Construction equipment batteries, including deep cycle batteries, may require additional maintenance due to harsh operating conditions. Ensuring proper maintenance for all batteries used for construction equipment can help prevent costly downtime and keep your equipment running smoothly.
The basic concept is that when connecting in parallel, you add the amp hour ratings of the batteries together, but the voltage remains the same. For example: 1. two 6 volt 4.5 Ah batteries wired in parallel are capable of providing 6 volt 9 amp hours (4.5 Ah + 4.5 Ah). 2. four 1.2 volt 2,000 mAh wired in parallel can provide 1.2. This is the big “no go area”. The battery with the higher voltage will attempt to charge the battery with the lower voltage to create a balance in the circuit. 1. primary (disposable). This is possible and won't cause any major issues, but it is important to note some potential issues: 1. Check your battery chemistries – Sealed Lead Acid batteries for example.
To properly wire a battery pack in series follow the illustration below. Some electric scooter, bike, and go kart batteries are wired in series and parallel to create a battery pack with a Voltage that is half the sum of all of the batteries in the pack combined.
A battery parallel assembly comprises multiple battery cells connected electrically in parallel under a specific topological configuration or geometrical arrangement. In this example, you create a parallel assembly of four cylindrical cells stacked in a square topology over four rows.
Flow batteries and other chemistries. These are commonly available in 48V. Multiple batteries can connect in parallel without any issues. Each battery has its own battery management system. Together they will generate a total state of charge value for the whole battery bank. A GX monitoring device is needed in the system.
When batteries are connected in series, the voltage increases. When batteries are connected in parallel, the capacity increases. When batteries are connected in series/parallel, both the voltage and the capacity increase. Single battery. Two batteries in series. Two batteries in parallel. Four batteries in series/parallel. Four batteries in series.
The basic concept is that when connecting in parallel, you add the amp hour ratings of the batteries together, but the voltage remains the same. For example: two 6 volt 4.5 Ah batteries wired in parallel are capable of providing 6 volt 9 amp hours (4.5 Ah + 4.5 Ah).
To wire multiple batteries in parallel, connect the negative terminal (-) of one battery to the negative terminal (-) of another, and do the same to the positive terminals (+). For example, you can connect four Renogy 12V 200Ah Core Series LiFePO4 Batteries in parallel. In this system, the system voltage and current are calculated as follows:
The end result may include (a) physical expansion of plates, (b) increased internal resistance, (c) reduced power capability, and (d) eventual battery failure.
If the water level gets too low, the plates will start to corrode and the battery will eventually fail. If you have a lead-acid battery, it is important to keep it full of water. If the water level gets too low, the battery are ruined. What Happens If Lead Acid Battery Runs Out of Water?
When a lead acid battery is drained of its acid, the wet moist negative electrodes come in contact with atmospheric oxygen, triggering an exothermic reaction that releases heat and discharges the negative plates (electrodes), oxidizing the sponge lead to lead oxide.
A lead acid battery is a type of rechargeable battery that has positive and negative plates fully immersed in electrolyte, which is dilute sulphuric acid.
A lead acid battery, including flooded electrolyte types, should not have its acid completely removed once it has been filled and charged. It is important not to remove the acid. A lead acid battery consists of several major components, including the positive electrode, negative electrode, sulphuric acid, separators, and tubular bags.
If you have a lead acid battery to charge it, it's important to keep it filled with water. If the battery runs out of water, it will no longer be able to generate power. The lead plates in the battery will start to corrode, and the battery will eventually fail. Will Tap Water Ruin a Battery?
Flooded electrolyte lead acid batteries do not cause thermal runaway because the electrolyte, which acts as a coolant in these batteries, helps prevent such an occurrence. Designers of flooded electrolyte lead acid batteries do not face the thermal runaway problems that are common in sealed maintenance free (SMF) or valve regulated lead acid (VRLA) batteries.
These advanced materials include mica, intumescent materials, and ablative coatings. Each material offers unique properties and benefits suitable for different aspects of battery protection.
Foams also act as thermal and electrical conductors, depending on their material and the compression amount within the battery. An extra layer can be added to the foam to make it more suitable for EMI shielding. Battery components need protection from electromagnetic waves due to their high frequencies and small size.
Regarding EV battery production, foam ensures optimal performance and longevity. Foam is widely used as an insulation material within battery packs, protecting the cells from extreme temperatures and vibrations. This insulation not only enhances safety but also helps maximise energy efficiency.
One plug-in hybrid EV built in China is already using a thermoplastic polypropylene compound instead of aluminium for its battery case cover, providing savings in weight. Other EVs now in production around world are using several thermoplastic materials for components such as cell carriers and housings, battery modules and battery enclosures.
Polyurethane foam, silicone foam, and Ethylene-Vinyl Acetate (EVA) foam are commonly used foams in EV battery manufacturing. Each type serves specific purposes, such as thermal, electrical, and shock absorption. What are some advancements in foam technology for EV batteries?
Additionally, polyurethane foam provides structural support, reducing the risk of damage due to shocks or vibrations. Silicone foam, another popular choice, excels in maintaining electrical insulation. Creating a barrier against moisture and dust ingress ensures the battery pack's long-term reliability.
These foams are built with fire-resistant materials, ensuring if something such as thermal runaway occurs in the battery, the foam will be an essential factor in reducing the chances of spreading. Dielectric foams and insulation are critical components to protecting the battery cells as they expand and contract while in use.
The nominal voltage of lead acid is 2 volts per cell, however when measuring the open circuit voltage, the OCV of a charged and rested battery should be 2.
The 24V lead-acid battery state of charge voltage ranges from 25.46V (100% capacity) to 22.72V (0% capacity). 48V Lead-Acid Battery Voltage Chart (4th Chart). The 48V lead-acid battery state of charge voltage ranges from 50.92 (100% capacity) to 45.44V (0% capacity). Lead acid battery is comprised of lead oxide (PbO2) cathode and lead (Pb) anode.
Here we see that a 6V lead acid battery has an actual voltage of 6V at a charge between 40% and 50% (43%, to be exact). The voltage spans from 6.37V at 100% charge to 5.71V at 0% charge. It is also important to note that lead batteries have a depth of discharge (DoD) close to about 50%.
For example, a 12-volt lead acid battery has a nominal voltage of 12 volts. However, the actual voltage of a lead acid battery can vary depending on its state of charge, temperature, and other factors. The state of charge (SOC) of a lead acid battery refers to the amount of charge remaining in the battery.
The 48V lead-acid battery state of charge voltage ranges from 50.92 (100% capacity) to 45.44V (0% capacity). Lead acid battery is comprised of lead oxide (PbO2) cathode and lead (Pb) anode. The medium of exchange is sulphuric acid. Most common example of lead-acid batteries are car batteries.
Meanwhile, the float voltage of a sealed 12V lead acid battery is usually 13.6 volts ± 0.2 volts. The float voltage of a flooded 12V lead acid battery is usually 13.5 volts. It is important to choose a battery with a voltage range that is appropriate for the application in which it will be used to ensure optimal performance and longevity.
The state of charge (SOC) of a lead acid battery refers to the amount of charge remaining in the battery. The SOC of a lead acid battery can be determined by measuring its voltage using a multimeter or other device. As the battery discharges, its voltage level decreases. Conversely, as the battery is charged, its voltage level increases.
A battery is made up of an anode, cathode, separator, electrolyte, and two current collectors (positive and negative). The anode and cathode store the lithium. The electrolyte carries positively charged lithium ions from the anode to the cathode and vice versa through the separator. The movement of the lithium ions. While the battery is discharging and providing an electric current, the anode releases lithium ions to the cathode, generating a flow of electrons from one side to the other. When plugging in the device, the opposite. The two most common concepts associated with batteries are energy density and power density. Energy density is measured in watt-hours per kilogram (Wh/kg) and is the amount of energy the battery can store with.
This means that during the charging and discharging process, the lithium ions move back and forth between the two electrodes of the battery, which is why the working principle of a lithium-ion battery is called the rocking chair principle. A battery typically consists of two electrodes, namely, anode and cathode.
What happens in a lithium-ion battery when charging (© 2019 Let's Talk Science based on an image by ser_igor via iStockphoto). When the battery is charging, the lithium ions flow from the cathode to the anode, and the electrons move from the anode to the cathode.
Here is the full reaction (left to right = discharging, right to left = charging): LiC 6 + CoO 2 ⇄ C 6 + LiCoO 2 How does recharging a lithium-ion battery work? When the lithium-ion battery in your mobile phone is powering it, positively charged lithium ions (Li+) move from the negative anode to the positive cathode.
The charging and discharging of lithium ion battery is actually the reciprocating motion process of lithium ions and electrons. When charging, apply power to the battery to let lithium ions and electrons go to the graphite layer along different paths. At this time, lithium atoms It is very unstable.
Simply storing lithium-ion batteries in the charged state also reduces their capacity (the amount of cyclable Li+) and increases the cell resistance (primarily due to the continuous growth of the solid electrolyte interface on the anode).
Lithium batteries are one of the best rechargeable batteries that can be used repeatedly. It has a wide range of applications, such as mobile phone batteries, power banks, and electric vehicle batteries. etc. So, how does the charging and discharging of lithium ion battery works?