IP Library Granted Patent US 8,539,273
Granted Patent B2
US 8,539,273 · App. 13/078,849 · Granted Sep 17, 2013

Electronic device for detecting a type of a charger device during a sleep mode

Inventors: Li-Ren Li (Tu-Cheng, TW); Chun-Hung Chou (Tu-Cheng, TW)
Assignee: Hon Hai Precision Industry Co., Ltd.
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 8,539,273
App. No.
13/078,849
Granted
Sep 17, 2013
Kind
B2
Abstract

An electronic device includes a microcontroller (MCU) and a central processing unit (CPU). The CPU enters a sleep mode. The MCU determines whether a charger device is inserted in the electronic device according to whether power is supplied from the charger device, and wakes up the CPU when the charger device is inserted in the electronic device. After being awakened, the CPU detects a type of the charger device, and adjusts charging current from the charger device to the electronic device according to the type of the charger device.

Claims (12)

1. An electronic device, comprising:

a central processing unit (CPU), wherein the CPU comprises a first pin and a second pin; and

a microcontroller (MCU), wherein the MCU sets power of the first pin and the second pin to a low voltage level and thereby stops supplying power to the CPU when the CPU enters a sleep mode, the MCU is operable to wake up the CPU from the sleep mode according to a determination that a charger device is inserted into the electronic device, the determination being according to whether power is supplied from the charger device, and when the MCU determines that the charger device is inserted into the electronic device, the MCU sets the power of the first pin and the second pin to a high voltage level and thereby starts to supply power to the CPU to wake up the CPU;

wherein after the CPU wakes up, the CPU detects a type of the charger device, and adjusts charging current from the charger device to the electronic device.

2. The electronic device of claim 1 , wherein after the CPU adjusts the charging current and is to enter the sleep mode, the CPU transmits a sleep command to the MCU, and the MCU sets the power of the first pin and the second pin to the low voltage level according to the sleep command.

3. The electronic device of claim 1 , wherein the MCU comprises a wake flag, and the wake flag is set to a predefined value to indicate that the CPU has been awakened because the charger device is inserted in the electronic device.

4. The electronic device of claim 3 , wherein when the charger device is inserted in the electronic device, the MCU sets the wake flag to the predefined value and sets the power of the first pin and the second pin to the high voltage level to wake up the CPU.

5. The electronic device of claim 4 , wherein after being wakened up, the CPU reads the wake flag from the MCU, and knows that the charger device is inserted in the electronic device according to the wake flag.

6. The electronic device of claim 1 , wherein the CPU transmits a request message to the charger device, and detects the type of the charger device according to whether a response message is received from the charger device.

7. The electronic device of claim 6 , wherein the type of the charger device comprises an adapter and a host with a universal serial bus (USB) interface.

8. The electronic device of claim 6 , further comprising a charging integrated circuit (IC) connected to the CPU and operable to adjust the charging current from the charger device to the electronic device after the charger device is inserted in the electronic device.

9. The electronic device of claim 8 , wherein the CPU transmits an adjusting command to the charging IC according to the type of the charger device, to control the charging IC to adjust the charging current.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 25, 2022
From: HON HAI PRECISION INDUSTRY CO., LTD.
To: CLOUD NETWORK TECHNOLOGY SINGAPORE PTE. LTD.
Reel/Frame 059791/0082 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 1, 2011
From: LI, LI-REN; CHOU, CHUN-HUNG
To: HON HAI PRECISION INDUSTRY CO., LTD.
Reel/Frame 026064/0090 →
Priority Claims (1)
CN 2011 1 0072680 · Mar 24, 2011 · national
Continuity (1)
Related Publication 20120246504A1 · Sep 27, 2012