SlideShare a Scribd company logo
1 of 22
Download to read offline
Battery Charging
Agenda
●
Autonomous Charging with PM8058
●
Charging Control
●
Known Issues
●
Q & A
Autonomous Charging with PM8058
Autonomous Charging
●
This is a new feature supported by PM8058.
●
With autonomous charging, the PMIC is able to control
charging without software intervention.
●
The autonomous charging algorithm is implemented in a
state machine; once it begins, it executes a sequence of
predetermined states until charging is completed.
Select Appropriate Power Source for VDD
●
Battery Power
– A charger is not present.
– or an invalid charger is present. (VCHG is below 3.3V or above 7V)
– or valid charger is present but it is an intelligent USB device and
the battery is not severely depleted.
●
External Charger Power
– A regular charger (not an intelligent USB device) is present and
valid.
– or an intelligent USB charger is present and valid, but battery is
severely depleted and the LOW_CURR_BOOT register bit is set
to 1. (meaning that the PMIC can perform a low current boot)
●
Auto-trickle Charging
– An intelligent USB charging device is present.
– and the battery is severely depleted.
– and the LOW_CURR_BOOT register bit is set to 0.
Charging Control
Register Battery Client to Modem
BATTERY_VOLTAGE_UP
BATTERY_VOLTAGE_DOWN
BATTERY_VOLTAGE_ABOVE_THIS_LEVEL
BATTERY_VOLTAGE_BELOW_THIS_LEVEL
BATTERY_VOLTAGE_LEVEL
BATTERY_ALL_ACTIVITY
VBATT_CHG_EVENTS
BATTERY_VOLTAGE_UNKNOWN
Get Battery and Charger status
Charging Control
Light Up Charging LED
Charging LED Behavior
●
Framework has its charging LED behavior.
●
Charger Presence
– Battery Capacity < 10%: Red Solid LED
– 90% > Battery Capacity > 10 %: Red + Green Solid
LED
– Battery Capacity > 90%: Green Solid LED
●
No Charger Presence
– Battery Capacity < 10%: Red Blink LED
Known Issues
Charging Notification Delay
●
QA expectation: DUT should show charging notification , charging LED,
charging icon or charging splash images, immediately when insert
AC/USB cable into DUT.
●
Root Cause:
- Different HW Design
- Before FB0: An external charging IC is adopted.
- Charging LED can be lit up immediately once the USB/AC
cable insert into DUT.
- FB0: Use PM8058 autonomous charging.
- Different SW Architecture
- Before FB0: Host can control charging IC directly.
- RPC calls are not necessary.
- UEvent can be sent as early as possible once the charging
configuration is finished.
- FB0: Host have to notify Modem to turn on charging by RPC calls.
Charging Notification Delay(cont.)
• Possible Solutions
– Charging LED Improvement:
1. Modify HW layout to let charging LED be lit up by
HW first.
2. Light up charging LED by Modem tasks first.
3. Light up charging LED once the USB/AC cable
insertion event has been received by USB driver.
– Charging Icon Improvement:
• Trigger UEvent once the USB/AC cable insertion
event has been received by USB driver.
Removed Battery Intentionally
●
DUT will not shutdown when removing battery with AC/USB
cable plugged
●
Root Cause:
– Modem should notify Host immediately when battery is
removed.
●
Solutions:
– in OS Mode
●
Modem notify Host by RPC callback.
– in Power-Off Charging Mode
●
Modem have to provide a shared memory command
for Host to check battery status in LK.
Modem BATT/CHG Events
●
As mentioned in Page 9, Modem will send BATT/CHG event
once battery voltage changes or charger status changes if our
battery registers a battery client to Modem.
– The battery event is sent when battery voltage has a
100mV variation.
●
This event is very difficult to observe.
●
FB0 has gauge IC.
●
The battery status updates by polling in current battery
driver.
– The charger event is sent when the charger is inserted or
removed.
– And so on……
Unconfigured Current (USBIF)
●
USB device cannot draw 500mA current before it is
configured.
●
Unconfigured current is 100mA
●
Solution: Set charging current to 100mA when USB device
is in SET_ADDRESS_STATE.
Q & A
CHG/BATT Software Arch.
Gauge FW Upgrading Wizard
Dialer
Battery Charging
Battery Charging

More Related Content

What's hot

Dc power plants for telecom and data
Dc power plants for telecom and dataDc power plants for telecom and data
Dc power plants for telecom and dataAnil Upadhyay
 
ISL6257: Highly Integrated Battery Charger Controller for Li-Ion/Li-Ion Polym...
ISL6257: Highly Integrated Battery Charger Controller for Li-Ion/Li-Ion Polym...ISL6257: Highly Integrated Battery Charger Controller for Li-Ion/Li-Ion Polym...
ISL6257: Highly Integrated Battery Charger Controller for Li-Ion/Li-Ion Polym...Premier Farnell
 
Basics of ups seminar presentation
Basics of ups   seminar presentationBasics of ups   seminar presentation
Basics of ups seminar presentationMurali Krishnan
 
Battery Charger Manufacturer - RS Power Systems
Battery Charger Manufacturer - RS Power SystemsBattery Charger Manufacturer - RS Power Systems
Battery Charger Manufacturer - RS Power Systemsrspowersystems
 
Power Electronics-Introduction
Power Electronics-IntroductionPower Electronics-Introduction
Power Electronics-Introductionsangeetha rakhi
 
Uninterrupted power supply
Uninterrupted power supplyUninterrupted power supply
Uninterrupted power supplyashrafulislam293
 
Guidelines for power plants (smps)
Guidelines for power plants (smps)Guidelines for power plants (smps)
Guidelines for power plants (smps)Anil Upadhyay
 
ESI Electro Service India - Float Cum Battery Charger
ESI Electro Service India - Float Cum Battery ChargerESI Electro Service India - Float Cum Battery Charger
ESI Electro Service India - Float Cum Battery ChargerRadhika Goyal
 
Auto selection of any aviliable phase
Auto selection of any aviliable phaseAuto selection of any aviliable phase
Auto selection of any aviliable phasenajeebs10
 
LTC4263 - PSE Controller with Internal Switch
LTC4263 - PSE Controller with Internal SwitchLTC4263 - PSE Controller with Internal Switch
LTC4263 - PSE Controller with Internal SwitchPremier Farnell
 
LT3650 - Li-Ion Battery Charger
LT3650 - Li-Ion  Battery ChargerLT3650 - Li-Ion  Battery Charger
LT3650 - Li-Ion Battery ChargerPremier Farnell
 
New Generation Switching Power Manager with USB On-the-Go
New Generation Switching Power Manager with USB On-the-GoNew Generation Switching Power Manager with USB On-the-Go
New Generation Switching Power Manager with USB On-the-GoPremier Farnell
 
Mobile charger presentation
Mobile charger presentationMobile charger presentation
Mobile charger presentationYãwãr Cena
 
Digital phase changer ppt
Digital phase changer pptDigital phase changer ppt
Digital phase changer pptAshish Verma
 

What's hot (20)

Dc power plants for telecom and data
Dc power plants for telecom and dataDc power plants for telecom and data
Dc power plants for telecom and data
 
Dc Power System
Dc Power SystemDc Power System
Dc Power System
 
ISL6257: Highly Integrated Battery Charger Controller for Li-Ion/Li-Ion Polym...
ISL6257: Highly Integrated Battery Charger Controller for Li-Ion/Li-Ion Polym...ISL6257: Highly Integrated Battery Charger Controller for Li-Ion/Li-Ion Polym...
ISL6257: Highly Integrated Battery Charger Controller for Li-Ion/Li-Ion Polym...
 
Basics of ups seminar presentation
Basics of ups   seminar presentationBasics of ups   seminar presentation
Basics of ups seminar presentation
 
Battery Charger Manufacturer - RS Power Systems
Battery Charger Manufacturer - RS Power SystemsBattery Charger Manufacturer - RS Power Systems
Battery Charger Manufacturer - RS Power Systems
 
Rajesh ppt 1
Rajesh ppt 1Rajesh ppt 1
Rajesh ppt 1
 
DMRC SMPS
DMRC SMPSDMRC SMPS
DMRC SMPS
 
Power Electronics-Introduction
Power Electronics-IntroductionPower Electronics-Introduction
Power Electronics-Introduction
 
Uninterrupted power supply
Uninterrupted power supplyUninterrupted power supply
Uninterrupted power supply
 
Guidelines for power plants (smps)
Guidelines for power plants (smps)Guidelines for power plants (smps)
Guidelines for power plants (smps)
 
ESI Electro Service India - Float Cum Battery Charger
ESI Electro Service India - Float Cum Battery ChargerESI Electro Service India - Float Cum Battery Charger
ESI Electro Service India - Float Cum Battery Charger
 
Uninterrupted power supply
Uninterrupted power supplyUninterrupted power supply
Uninterrupted power supply
 
Auto selection of any aviliable phase
Auto selection of any aviliable phaseAuto selection of any aviliable phase
Auto selection of any aviliable phase
 
LTC4263 - PSE Controller with Internal Switch
LTC4263 - PSE Controller with Internal SwitchLTC4263 - PSE Controller with Internal Switch
LTC4263 - PSE Controller with Internal Switch
 
Self Switching Power Supply
Self Switching Power SupplySelf Switching Power Supply
Self Switching Power Supply
 
LT3650 - Li-Ion Battery Charger
LT3650 - Li-Ion  Battery ChargerLT3650 - Li-Ion  Battery Charger
LT3650 - Li-Ion Battery Charger
 
New Generation Switching Power Manager with USB On-the-Go
New Generation Switching Power Manager with USB On-the-GoNew Generation Switching Power Manager with USB On-the-Go
New Generation Switching Power Manager with USB On-the-Go
 
Mobile charger presentation
Mobile charger presentationMobile charger presentation
Mobile charger presentation
 
M.E. Project PPT
M.E. Project PPTM.E. Project PPT
M.E. Project PPT
 
Digital phase changer ppt
Digital phase changer pptDigital phase changer ppt
Digital phase changer ppt
 

Viewers also liked

Batteries & charging system
Batteries & charging systemBatteries & charging system
Batteries & charging systemsyahmizan
 
Renewable Hydrogen Energy Storage
Renewable Hydrogen Energy StorageRenewable Hydrogen Energy Storage
Renewable Hydrogen Energy Storagegrambach
 
Renewable rechargeable batteries green charging design 2 powerpoint presentat...
Renewable rechargeable batteries green charging design 2 powerpoint presentat...Renewable rechargeable batteries green charging design 2 powerpoint presentat...
Renewable rechargeable batteries green charging design 2 powerpoint presentat...SlideTeam.net
 
Battery Types and Battery technology
Battery Types and Battery technologyBattery Types and Battery technology
Battery Types and Battery technologySRM UNIVERSITY
 
Automotive starting system.
Automotive starting system.Automotive starting system.
Automotive starting system.Eddie Abug
 
Alternator Winding
Alternator WindingAlternator Winding
Alternator WindingRamasubbu .P
 
Charging System Automobile
Charging System AutomobileCharging System Automobile
Charging System AutomobileJoren Carcallas
 
MPPT Based Optimal Charge Controller in PV system
MPPT Based Optimal Charge Controller in PV systemMPPT Based Optimal Charge Controller in PV system
MPPT Based Optimal Charge Controller in PV systemMalik Sameeullah
 
Seminar report on paper battery
Seminar report on paper batterySeminar report on paper battery
Seminar report on paper batterymanish katara
 
Technical Seminar PPT
Technical Seminar PPTTechnical Seminar PPT
Technical Seminar PPTKshitiz_Vj
 
Presentation on Paper battery
Presentation on Paper battery Presentation on Paper battery
Presentation on Paper battery manish katara
 

Viewers also liked (17)

Batteries & charging system
Batteries & charging systemBatteries & charging system
Batteries & charging system
 
Renewable Hydrogen Energy Storage
Renewable Hydrogen Energy StorageRenewable Hydrogen Energy Storage
Renewable Hydrogen Energy Storage
 
Forklift Safety - Battery Charging
Forklift Safety - Battery ChargingForklift Safety - Battery Charging
Forklift Safety - Battery Charging
 
Renewable rechargeable batteries green charging design 2 powerpoint presentat...
Renewable rechargeable batteries green charging design 2 powerpoint presentat...Renewable rechargeable batteries green charging design 2 powerpoint presentat...
Renewable rechargeable batteries green charging design 2 powerpoint presentat...
 
Battery Types and Battery technology
Battery Types and Battery technologyBattery Types and Battery technology
Battery Types and Battery technology
 
Automotive starting system.
Automotive starting system.Automotive starting system.
Automotive starting system.
 
Alternator Winding
Alternator WindingAlternator Winding
Alternator Winding
 
Alternator
AlternatorAlternator
Alternator
 
Charging System Automobile
Charging System AutomobileCharging System Automobile
Charging System Automobile
 
Alternator
AlternatorAlternator
Alternator
 
MPPT Based Optimal Charge Controller in PV system
MPPT Based Optimal Charge Controller in PV systemMPPT Based Optimal Charge Controller in PV system
MPPT Based Optimal Charge Controller in PV system
 
Seminar report on paper battery
Seminar report on paper batterySeminar report on paper battery
Seminar report on paper battery
 
Technical Seminar PPT
Technical Seminar PPTTechnical Seminar PPT
Technical Seminar PPT
 
Paper battery
Paper batteryPaper battery
Paper battery
 
Wireless charging ppt
Wireless charging pptWireless charging ppt
Wireless charging ppt
 
Presentation on Paper battery
Presentation on Paper battery Presentation on Paper battery
Presentation on Paper battery
 
Generators
GeneratorsGenerators
Generators
 

Similar to Battery Charging

Quick Facts Sheet on PS4IoT_V1 - A Smart Power Supply Unit Module For DIY, Sm...
Quick Facts Sheet on PS4IoT_V1 - A Smart Power Supply Unit Module For DIY, Sm...Quick Facts Sheet on PS4IoT_V1 - A Smart Power Supply Unit Module For DIY, Sm...
Quick Facts Sheet on PS4IoT_V1 - A Smart Power Supply Unit Module For DIY, Sm...IoTdevices
 
PS4IoT_V1 Datasheet EN - Smart Power Supply Unit by IoT-devices LLC
PS4IoT_V1 Datasheet EN - Smart Power Supply Unit by IoT-devices LLCPS4IoT_V1 Datasheet EN - Smart Power Supply Unit by IoT-devices LLC
PS4IoT_V1 Datasheet EN - Smart Power Supply Unit by IoT-devices LLCIoTdevices
 
Fully Integrated Switch-Mode Single-Cell Li-Ion Charger With Full USB
Fully Integrated Switch-Mode Single-Cell Li-Ion Charger With Full USBFully Integrated Switch-Mode Single-Cell Li-Ion Charger With Full USB
Fully Integrated Switch-Mode Single-Cell Li-Ion Charger With Full USBPremier Farnell
 
Intelligent battery charger
Intelligent battery chargerIntelligent battery charger
Intelligent battery chargerslmnsvn
 
Electric Vehicle Charging Method for Smart Homes/Buildings with a Photovoltai...
Electric Vehicle Charging Method for SmartHomes/Buildings with a Photovoltai...Electric Vehicle Charging Method for SmartHomes/Buildings with a Photovoltai...
Electric Vehicle Charging Method for Smart Homes/Buildings with a Photovoltai...Bharath University
 
MPPT Solar Charge Controller
MPPT Solar Charge ControllerMPPT Solar Charge Controller
MPPT Solar Charge ControllerShashank Narayan
 
Stark project smart electrical car
Stark project smart electrical carStark project smart electrical car
Stark project smart electrical carConnecting Point
 
Electric vehicles and charging infra Know you Safety First
Electric vehicles and charging infra Know you Safety FirstElectric vehicles and charging infra Know you Safety First
Electric vehicles and charging infra Know you Safety FirstMahesh Chandra Manav
 
Risks of funcional safety with es short
Risks of funcional safety with es shortRisks of funcional safety with es short
Risks of funcional safety with es shortGerhardSchilling2
 
BIDIRECTIONAL SPEED CONTROL OF DC MOTOR USING 8051 MICROCONTROLLER
BIDIRECTIONAL SPEED CONTROL OF DC MOTOR USING 8051 MICROCONTROLLERBIDIRECTIONAL SPEED CONTROL OF DC MOTOR USING 8051 MICROCONTROLLER
BIDIRECTIONAL SPEED CONTROL OF DC MOTOR USING 8051 MICROCONTROLLERShanmukha S. Potti
 
High performance fast charging of electric vehicles
High performance fast charging of electric vehiclesHigh performance fast charging of electric vehicles
High performance fast charging of electric vehiclesstudent
 
KRYPTON CONTROL AND SOLUTIONS
KRYPTON CONTROL AND SOLUTIONSKRYPTON CONTROL AND SOLUTIONS
KRYPTON CONTROL AND SOLUTIONSRobins Thekkedath
 
VEHICLE-TO-GRID TECHNOLOGY EMPLOYING DC FAST CHARGING SYSTEM IN MICROGRID
VEHICLE-TO-GRID TECHNOLOGY EMPLOYING DC FAST CHARGING SYSTEM IN MICROGRIDVEHICLE-TO-GRID TECHNOLOGY EMPLOYING DC FAST CHARGING SYSTEM IN MICROGRID
VEHICLE-TO-GRID TECHNOLOGY EMPLOYING DC FAST CHARGING SYSTEM IN MICROGRIDIRJET Journal
 
Part 3 block diagram of PLC.
Part 3 block diagram of PLC.Part 3 block diagram of PLC.
Part 3 block diagram of PLC.KuldeepMakwana6
 
Ev charge controller (ccs2) for electric vehicle market
Ev charge controller (ccs2) for electric vehicle marketEv charge controller (ccs2) for electric vehicle market
Ev charge controller (ccs2) for electric vehicle marketKaty Slemon
 
EC/Bios Interaction Laptop Repair Course
EC/Bios Interaction Laptop Repair CourseEC/Bios Interaction Laptop Repair Course
EC/Bios Interaction Laptop Repair CourseVikas Deoarshi
 
Now Enough we Require Carbon Free and Silent Road Transportation
Now Enough we Require Carbon Free and Silent Road TransportationNow Enough we Require Carbon Free and Silent Road Transportation
Now Enough we Require Carbon Free and Silent Road TransportationMahesh Chandra Manav
 

Similar to Battery Charging (20)

Quick Facts Sheet on PS4IoT_V1 - A Smart Power Supply Unit Module For DIY, Sm...
Quick Facts Sheet on PS4IoT_V1 - A Smart Power Supply Unit Module For DIY, Sm...Quick Facts Sheet on PS4IoT_V1 - A Smart Power Supply Unit Module For DIY, Sm...
Quick Facts Sheet on PS4IoT_V1 - A Smart Power Supply Unit Module For DIY, Sm...
 
PS4IoT_V1 Datasheet EN - Smart Power Supply Unit by IoT-devices LLC
PS4IoT_V1 Datasheet EN - Smart Power Supply Unit by IoT-devices LLCPS4IoT_V1 Datasheet EN - Smart Power Supply Unit by IoT-devices LLC
PS4IoT_V1 Datasheet EN - Smart Power Supply Unit by IoT-devices LLC
 
Fully Integrated Switch-Mode Single-Cell Li-Ion Charger With Full USB
Fully Integrated Switch-Mode Single-Cell Li-Ion Charger With Full USBFully Integrated Switch-Mode Single-Cell Li-Ion Charger With Full USB
Fully Integrated Switch-Mode Single-Cell Li-Ion Charger With Full USB
 
Intelligent battery charger
Intelligent battery chargerIntelligent battery charger
Intelligent battery charger
 
Electric Vehicle Charging Method for Smart Homes/Buildings with a Photovoltai...
Electric Vehicle Charging Method for SmartHomes/Buildings with a Photovoltai...Electric Vehicle Charging Method for SmartHomes/Buildings with a Photovoltai...
Electric Vehicle Charging Method for Smart Homes/Buildings with a Photovoltai...
 
MPPT Solar Charge Controller
MPPT Solar Charge ControllerMPPT Solar Charge Controller
MPPT Solar Charge Controller
 
Stark project smart electrical car
Stark project smart electrical carStark project smart electrical car
Stark project smart electrical car
 
Electric vehicles and charging infra Know you Safety First
Electric vehicles and charging infra Know you Safety FirstElectric vehicles and charging infra Know you Safety First
Electric vehicles and charging infra Know you Safety First
 
Risks of funcional safety with es short
Risks of funcional safety with es shortRisks of funcional safety with es short
Risks of funcional safety with es short
 
Soft ramp
Soft rampSoft ramp
Soft ramp
 
Ultisolar LS1024BP LS2024BP Solar Controller user manual
Ultisolar  LS1024BP LS2024BP Solar Controller user manualUltisolar  LS1024BP LS2024BP Solar Controller user manual
Ultisolar LS1024BP LS2024BP Solar Controller user manual
 
BIDIRECTIONAL SPEED CONTROL OF DC MOTOR USING 8051 MICROCONTROLLER
BIDIRECTIONAL SPEED CONTROL OF DC MOTOR USING 8051 MICROCONTROLLERBIDIRECTIONAL SPEED CONTROL OF DC MOTOR USING 8051 MICROCONTROLLER
BIDIRECTIONAL SPEED CONTROL OF DC MOTOR USING 8051 MICROCONTROLLER
 
High performance fast charging of electric vehicles
High performance fast charging of electric vehiclesHigh performance fast charging of electric vehicles
High performance fast charging of electric vehicles
 
KRYPTON CONTROL AND SOLUTIONS
KRYPTON CONTROL AND SOLUTIONSKRYPTON CONTROL AND SOLUTIONS
KRYPTON CONTROL AND SOLUTIONS
 
VEHICLE-TO-GRID TECHNOLOGY EMPLOYING DC FAST CHARGING SYSTEM IN MICROGRID
VEHICLE-TO-GRID TECHNOLOGY EMPLOYING DC FAST CHARGING SYSTEM IN MICROGRIDVEHICLE-TO-GRID TECHNOLOGY EMPLOYING DC FAST CHARGING SYSTEM IN MICROGRID
VEHICLE-TO-GRID TECHNOLOGY EMPLOYING DC FAST CHARGING SYSTEM IN MICROGRID
 
Research paper
Research paperResearch paper
Research paper
 
Part 3 block diagram of PLC.
Part 3 block diagram of PLC.Part 3 block diagram of PLC.
Part 3 block diagram of PLC.
 
Ev charge controller (ccs2) for electric vehicle market
Ev charge controller (ccs2) for electric vehicle marketEv charge controller (ccs2) for electric vehicle market
Ev charge controller (ccs2) for electric vehicle market
 
EC/Bios Interaction Laptop Repair Course
EC/Bios Interaction Laptop Repair CourseEC/Bios Interaction Laptop Repair Course
EC/Bios Interaction Laptop Repair Course
 
Now Enough we Require Carbon Free and Silent Road Transportation
Now Enough we Require Carbon Free and Silent Road TransportationNow Enough we Require Carbon Free and Silent Road Transportation
Now Enough we Require Carbon Free and Silent Road Transportation
 

Battery Charging

  • 2. Agenda ● Autonomous Charging with PM8058 ● Charging Control ● Known Issues ● Q & A
  • 4. Autonomous Charging ● This is a new feature supported by PM8058. ● With autonomous charging, the PMIC is able to control charging without software intervention. ● The autonomous charging algorithm is implemented in a state machine; once it begins, it executes a sequence of predetermined states until charging is completed.
  • 5.
  • 6. Select Appropriate Power Source for VDD ● Battery Power – A charger is not present. – or an invalid charger is present. (VCHG is below 3.3V or above 7V) – or valid charger is present but it is an intelligent USB device and the battery is not severely depleted. ● External Charger Power – A regular charger (not an intelligent USB device) is present and valid. – or an intelligent USB charger is present and valid, but battery is severely depleted and the LOW_CURR_BOOT register bit is set to 1. (meaning that the PMIC can perform a low current boot) ● Auto-trickle Charging – An intelligent USB charging device is present. – and the battery is severely depleted. – and the LOW_CURR_BOOT register bit is set to 0.
  • 8. Register Battery Client to Modem BATTERY_VOLTAGE_UP BATTERY_VOLTAGE_DOWN BATTERY_VOLTAGE_ABOVE_THIS_LEVEL BATTERY_VOLTAGE_BELOW_THIS_LEVEL BATTERY_VOLTAGE_LEVEL BATTERY_ALL_ACTIVITY VBATT_CHG_EVENTS BATTERY_VOLTAGE_UNKNOWN Get Battery and Charger status
  • 11. Charging LED Behavior ● Framework has its charging LED behavior. ● Charger Presence – Battery Capacity < 10%: Red Solid LED – 90% > Battery Capacity > 10 %: Red + Green Solid LED – Battery Capacity > 90%: Green Solid LED ● No Charger Presence – Battery Capacity < 10%: Red Blink LED
  • 13. Charging Notification Delay ● QA expectation: DUT should show charging notification , charging LED, charging icon or charging splash images, immediately when insert AC/USB cable into DUT. ● Root Cause: - Different HW Design - Before FB0: An external charging IC is adopted. - Charging LED can be lit up immediately once the USB/AC cable insert into DUT. - FB0: Use PM8058 autonomous charging. - Different SW Architecture - Before FB0: Host can control charging IC directly. - RPC calls are not necessary. - UEvent can be sent as early as possible once the charging configuration is finished. - FB0: Host have to notify Modem to turn on charging by RPC calls.
  • 14. Charging Notification Delay(cont.) • Possible Solutions – Charging LED Improvement: 1. Modify HW layout to let charging LED be lit up by HW first. 2. Light up charging LED by Modem tasks first. 3. Light up charging LED once the USB/AC cable insertion event has been received by USB driver. – Charging Icon Improvement: • Trigger UEvent once the USB/AC cable insertion event has been received by USB driver.
  • 15. Removed Battery Intentionally ● DUT will not shutdown when removing battery with AC/USB cable plugged ● Root Cause: – Modem should notify Host immediately when battery is removed. ● Solutions: – in OS Mode ● Modem notify Host by RPC callback. – in Power-Off Charging Mode ● Modem have to provide a shared memory command for Host to check battery status in LK.
  • 16. Modem BATT/CHG Events ● As mentioned in Page 9, Modem will send BATT/CHG event once battery voltage changes or charger status changes if our battery registers a battery client to Modem. – The battery event is sent when battery voltage has a 100mV variation. ● This event is very difficult to observe. ● FB0 has gauge IC. ● The battery status updates by polling in current battery driver. – The charger event is sent when the charger is inserted or removed. – And so on……
  • 17. Unconfigured Current (USBIF) ● USB device cannot draw 500mA current before it is configured. ● Unconfigured current is 100mA ● Solution: Set charging current to 100mA when USB device is in SET_ADDRESS_STATE.
  • 18. Q & A