CN103035966B - Battery charge-discharge control method and electronic equipment - Google Patents

Battery charge-discharge control method and electronic equipment Download PDF

Info

Publication number
CN103035966B
CN103035966B CN201110298243.4A CN201110298243A CN103035966B CN 103035966 B CN103035966 B CN 103035966B CN 201110298243 A CN201110298243 A CN 201110298243A CN 103035966 B CN103035966 B CN 103035966B
Authority
CN
China
Prior art keywords
battery
housing
power supply
control unit
electricity
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201110298243.4A
Other languages
Chinese (zh)
Other versions
CN103035966A (en
Inventor
王红亮
郭金娥
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201110298243.4A priority Critical patent/CN103035966B/en
Publication of CN103035966A publication Critical patent/CN103035966A/en
Application granted granted Critical
Publication of CN103035966B publication Critical patent/CN103035966B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/10Energy storage using batteries

Abstract

The invention discloses a battery charge-discharge control method and electronic equipment. The electronic equipment comprises a first battery, a second battery, a first shell with an input unit, a second shell with a display unit and a first control unit, and a third shell with a second control unit. The method comprises the following steps of: judging a working mode of the electronic equipment to obtain a first judgment result, and determining to use the first control unit or the second control unit to control a battery charge-discharge process under the working mode according to the first judgment result; judging whether a power adapter is accessed or not to obtain a second judgment result, and carrying out charge-discharge control on the first battery and/or the second battery through the determined control unit. When the method is applied to controlling the battery charge-discharge process, an independent control chip has no need to be arranged, and different charge-discharge control processes are adopted aiming at different working modes of the electronic equipment, so that the control process is simple, and the charge-discharge process is flexible.

Description

Battery charge-discharge control method and electronic equipment
Technical field
The application relates to communication technical field, particularly relates to a kind of battery charge-discharge control method and electronic equipment.
Background technology
In order to improve the battery backup capability of portable terminal device, two pieces of batteries being set in existing portable terminal device, by carrying out charge and discharge control to double cell, strengthening the stand-by time of portable terminal device.For notebook computer, usual one piece of battery is arranged on the host machine part at keyboard place, and one piece of battery is arranged on the part at display screen place.When carrying out double-battery charge control of discharge, need to arrange special charging chip in prior art, two pieces of batteries are all connected on this charging chip, and charging chip is integrated on mainboard usually, will need the module access of charging when charging.
Known therefrom, in prior art when carrying out charge and discharge control to two batteries, need to be controlled two chips by charging chip, charging process is dumb simultaneously; Special in the portable terminal device with dual system, portable terminal device may be separated into the PAD equipment (part at display screen place) and BASE equipment (part at main frame place) that are used alone, but when carrying out charge and discharge control, need that two equipment are combined into portable terminal device and could carry out discharge and recharge to battery, and charge and discharge process needs two equipment control unit separately to control charging chip simultaneously, control procedure is loaded down with trivial details, and charge and discharge process is dumb.
Summary of the invention
The embodiment of the present application provides a kind of battery charge-discharge control method and electronic equipment, to solve the discharge and recharge that can only control two batteries in prior art under portable terminal device assembled state simultaneously, cause charge and discharge control process loaded down with trivial details, the inflexible problem of control procedure.
In order to solve the problems of the technologies described above, the embodiment of the present application discloses following technical scheme:
A kind of battery charge-discharge control method, be applied in the electronic equipment at least with the first battery and the second battery, described electronic equipment at least comprises first housing with an input unit, second housing with a display unit and the first control unit and has the 3rd housing of the second control unit, wherein said first housing, the second housing can be separated each other with the 3rd housing, and described electronic equipment has multiple-working mode; Described battery charge-discharge control method comprises:
Judge the mode of operation of described electronic equipment, obtain the first judged result, determine that use first control unit or the second control unit control battery charge and discharge process under described mode of operation according to described first judged result;
Judge whether that power supply adaptor accesses, obtained the second judged result, according to described second judged result, by the described control unit determined, charge and discharge control has been carried out to described first battery and/or the second battery.
Described first battery is arranged in described first housing, and described second battery is arranged in described second housing; Or,
Described first battery is arranged in described 3rd housing, and described second battery is arranged in described second housing.
Described mode of operation comprises:
Use the first mode of the first housing and the second housing simultaneously, use the second pattern of the first housing and the 3rd housing and use the three-mode of the first housing, the second housing and the 3rd housing simultaneously simultaneously.
When judging that described electronic equipment is in first mode, determine that described first control unit controls battery charge and discharge process in the first mode, described according to described second judged result, by the described control unit determined, charge and discharge control is carried out to described first battery and/or the second battery and comprise:
When the second judged result is not for having power supply adaptor to access, trigger the first control unit and judge whether the electricity of the first battery be arranged in the first housing exceedes default threshold value, if, be system power supply by described first battery, otherwise, be system power supply by the second battery be arranged in described second housing;
When the second judged result is power supply adaptor access, triggering the first control unit, to control described power supply adaptor be system power supply; Further, when triggering described first control unit and judging that the electricity of the second battery be arranged in described second housing is discontented with, be described second battery charging by described power supply adaptor, until the electricity of described second battery is full; Judge that the electricity of the second source be arranged in described second housing is as time full when triggering described first control unit, whether the electricity that judgement is arranged on the first battery in the first housing is full, if discontented, then by described power supply adaptor be described first battery charging, until the electricity of described first battery is full.
When judging that described electronic equipment is in the second pattern, determine that described second control unit controls battery charge and discharge process in the second mode, described according to described second judged result, by the described control unit determined, charge and discharge control is carried out to described first battery and/or the second battery and comprise:
When the second judged result is not for having power supply adaptor to access, triggering the second control unit control the first battery be arranged in described first housing is system power supply;
When the second judged result is for there being power supply adaptor to access, triggering the second control unit, to control described power supply adaptor be system power supply; Further, triggering whether the electricity that described second control unit judges to be arranged on the first battery in the first housing is full, if discontented, is then described first battery charging by described power supply adaptor, until the electricity of described first battery is full.
When judging that described electronic equipment is in three-mode, determine that described second control unit controls battery charge and discharge process under described three-mode, described according to described second judged result, by the described control unit determined, charge and discharge control is carried out to described first battery and/or the second battery and comprise:
When the second judged result is not for having power supply adaptor to access, trigger the second control unit and judge whether the electricity of the first battery be arranged in the first housing exceedes default threshold value, if, be system power supply by described first battery, otherwise, be system power supply by the second battery be arranged in described second housing;
When the second judged result is power supply adaptor access, triggering the second control unit, to control described power supply adaptor be system power supply; Further, when triggering second control unit judges that the electricity of the second battery be arranged in described second housing is discontented with, be described second battery charging by described power supply adaptor, until the electricity of described second battery is full; When triggering second control unit judges that the electricity of the power supply be arranged in described second housing is as time full, whether the electricity that judgement is arranged on the first battery in the first housing is full, if discontented, then by described power supply adaptor be described first battery charging, until the electricity of described first battery is full.
Described mode of operation also comprises:
Be used alone the four-mode of described first housing, be used alone the 5th pattern of described second housing.
Also comprise:
When judging that electronic equipment is in four-mode, judge whether that power supply adaptor accesses, if there is power supply adaptor to access, then judgement is arranged on whether the electricity of the first battery in the first housing is full, if discontented, then by described power supply adaptor be described first battery charging, until the electricity of described first battery is full; If do not have power supply adaptor to access, then control the first battery be arranged in described first housing and discharge;
When judging that electronic equipment is in the 5th pattern, then control the second battery be arranged in described second housing and discharge.
A kind of electronic equipment, described electronic equipment at least comprises the first battery and the second battery, also comprise first housing with an input unit, second housing with a display unit and the first control unit and there is the 3rd housing of the second control unit, wherein said first housing, the second housing can be separated each other with the 3rd housing, and described electronic equipment has multiple-working mode; Described electronic equipment also comprises:
Mode of operation determining unit, for judging the mode of operation of described electronic equipment, obtain the first judged result, determine that use first control unit or the second control unit control battery charge and discharge process under described mode of operation according to described first judged result;
Charge-discharge control unit, for having judged whether that power supply adaptor accesses, has obtained the second judged result, according to described second judged result, carries out charge and discharge control by the described control unit determined to described first battery and/or the second battery.
Described first battery is arranged in the first housing, and described second battery is arranged in described second housing; Or described first battery is arranged in described 3rd housing, and described second battery is arranged in described second housing;
Described mode of operation comprises: use the first mode of the first housing and the second housing simultaneously, use the second pattern of the first housing and the 3rd housing and use the three-mode of the first housing, the second housing and the 3rd housing simultaneously simultaneously.
Described mode of operation determining unit, during specifically for judging that described electronic equipment is in first mode, determines that described first control unit controls battery charge and discharge process in the first mode;
Described charge-discharge control unit comprises:
First trigger element, for when the second judged result is not for having power supply adaptor to access, trigger the first control unit and judge whether the electricity of the first battery be arranged in the first housing exceedes default threshold value, if, be system power supply by described first battery, otherwise, be system power supply by the second battery be arranged in described second housing;
Second trigger element, during for being power supply adaptor access when the second judged result, triggering the first control unit, to control described power supply adaptor be system power supply; Further, when triggering described first control unit and judging that the electricity of the second battery be arranged in described second housing is discontented with, be described second battery charging by described power supply adaptor, until the electricity of described second battery is full; Judge that the electricity of the second source be arranged in described second housing is as time full when triggering described first control unit, whether the electricity that judgement is arranged on the first battery in the first housing is full, if discontented, then by described power supply adaptor be described first battery charging, until the electricity of described first battery is full.
Described mode of operation determining unit, specifically for when judging that described electronic equipment is in the second pattern, determines that described second control unit controls battery charge and discharge process in the second mode;
Described charge-discharge control unit comprises:
3rd trigger element, for when the second judged result is not for having power supply adaptor to access, triggering the second control unit control the first battery be arranged in described first housing is system power supply;
4th trigger element, for when the second judged result is for there being power supply adaptor to access, triggering the second control unit, to control described power supply adaptor be system power supply; Further, triggering whether the electricity that described second control unit judges to be arranged on the first battery in the first housing is full, if discontented, is then described first battery charging by described power supply adaptor, until the electricity of described first battery is full.
Described mode of operation determining unit, specifically for when judging that described electronic equipment is in three-mode, determines that described second control unit controls battery charge and discharge process under described three-mode;
Described charge-discharge control unit comprises:
5th trigger element, for when the second judged result is not for having power supply adaptor to access, trigger the second control unit and judge whether the electricity of the first battery be arranged in the first housing exceedes default threshold value, if, be system power supply by described first battery, otherwise, be system power supply by the second battery be arranged in described second housing;
6th trigger element, during for being power supply adaptor access when the second judged result, triggering the second control unit, to control described power supply adaptor be system power supply; Further, when triggering second control unit judges that the electricity of the second battery be arranged in described second housing is discontented with, be described second battery charging by described power supply adaptor, until the electricity of described second battery is full; When triggering second control unit judges that the electricity of the power supply be arranged in described second housing is as time full, whether the electricity that judgement is arranged on the first battery in the first housing is full, if discontented, then by described power supply adaptor be described first battery charging, until the electricity of described first battery is full.
Described mode of operation also comprises: be used alone the four-mode of described first housing, be used alone the 5th pattern of described second housing;
Described charge-discharge control unit, also for when judging that electronic equipment is in four-mode, judge whether that power supply adaptor accesses, if there is power supply adaptor to access, then judgement is arranged on whether the electricity of the first battery in the first housing is full, if discontented, be then described first battery charging by described power supply adaptor, until the electricity of described first battery is full; If do not have power supply adaptor to access, then control the first battery be arranged in described first housing and discharge;
Described charge-discharge control unit, also for when judging that electronic equipment is in the 5th pattern, then controls the second battery be arranged in described second housing and discharges.
As can be seen from the above-described embodiment, in the embodiment of the present application, electronic equipment has the first battery and the second battery, also comprise first housing with an input unit, there is the second housing of a display unit and the first control unit, and there is the 3rd housing of the second control unit, when carrying out charge and discharge control, first the mode of operation of electronic equipment is judged, obtain the first judged result, determine that use first control unit or the second control unit control battery charge and discharge process under current operation mode according to the first judged result, then judged whether that power supply adaptor accesses, obtain the second judged result, according to the second judged result, by the control unit determined, charge and discharge control is carried out to the first battery and/or the second battery.When application the embodiment of the present application controls battery charge and discharge process, without the need to arranging independent control chip, the different working modes for electronic equipment adopts different charge and discharge control processes, and therefore control procedure is simple, and charge and discharge process is flexible.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present application or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, for those of ordinary skills, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the first embodiment flow chart of the application's battery charge-discharge control method;
Fig. 2 is the internal structure schematic diagram of a kind of electronic equipment of application the application embodiment of the method;
Fig. 3 is the second embodiment flow chart of the application's battery charge-discharge control method;
Fig. 4 is the 3rd embodiment flow chart of the application's battery charge-discharge control method;
Fig. 5 is the 4th embodiment flow chart of the application's battery charge-discharge control method;
Fig. 6 is the 5th embodiment flow chart of the application's battery charge-discharge control method;
Fig. 7 is the embodiment block diagram of the application's electronic equipment.
Embodiment
The following embodiment of the present invention provides a kind of battery charge-discharge control method and electronic equipment.
Technical scheme in the embodiment of the present invention is understood better in order to make those skilled in the art person, and enable the above-mentioned purpose of the embodiment of the present invention, feature and advantage become apparent more, below in conjunction with accompanying drawing, technical scheme in the embodiment of the present invention is described in further detail.
Electronic equipment in the embodiment of the present application at least has the first battery and the second battery, this electronic equipment at least also comprise there is an input unit the first housing (such as, keyboard), there is the second housing of a display unit and the first control unit (such as, PANEL equipment) and there is the 3rd housing (BASE equipment) of the second control unit, wherein the first housing, the second housing can be separated each other with the 3rd housing, or combine work, this electronic equipment of difference according to assembled state has multiple-working mode.
Wherein, the first battery and the second battery can be arranged flexibly, comprising: the first battery is arranged in the first housing, and the second battery is arranged in the second housing; Or the first battery is arranged in the 3rd housing, and the second battery is arranged in the second housing.
Wherein, the mode of operation of this electronic equipment of the embodiment of the present application can comprise: use the first mode of the first housing and the second housing simultaneously, use the second pattern of the first housing and the 3rd housing and use the three-mode of the first housing, the second housing and the 3rd housing simultaneously simultaneously.Further, can also comprise: be used alone the four-mode of described first housing, be used alone the 5th pattern of described second housing.
See Fig. 1, the first embodiment flow chart for the application's battery charge-discharge control method:
Step 101: the mode of operation judging electronic equipment, obtains the first judged result.
Step 102: determine that use first control unit or the second control unit control battery charge and discharge process in the operational mode according to the first judged result.
Step 103: judged whether that power supply adaptor accesses, obtains the second judged result.
Step 104: according to the second judged result, carries out charge and discharge control by the control unit determined to described first battery and/or the second battery.
See Fig. 2, the internal structure schematic diagram for a kind of electronic equipment of application the application embodiment of the method:
This electronic equipment comprises: the keyboard equipment as the first housing, the PANEL equipment as the second housing and the BASE equipment as the 3rd housing.Wherein, in keyboard equipment, be provided with the first battery, in PANEL equipment, be provided with the second battery, there is in PANEL equipment the first control unit UC unit, there is in BASE equipment the second control unit EC unit.Shown in Fig. 2 is keyboard equipment, PANEL equipment, BASE equipment connection operating state together.
Wherein, BASE equipment comprises the first hardware system, such as based on the hardware system of X86-based or ARM architecture processor, run the first operating system, such as desk device operating system is (as Windows, Linux or MacOS etc.) or portable device system (as Android, Symbian or iOS etc.), PANEL equipment comprises the second hardware system, such as based on the hardware system of X86-based or ARM architecture processor, run the second operating system, such as desk device operating system is (as Windows, Linux or MacOS etc.) or portable device system (as Android, Symbian or iOS etc.).Visible, the first hardware system and the second hardware system can based on identical frameworks, also can based on different frameworks; First operating system and the second operating system can be the operating system of identical type also can be dissimilar operating system.Preferably, BASE equipment is based on X86-based processor and runs the equipment of Windows operating system, and PANEL equipment is based on ARM architecture processor and runs the equipment of Android operation system.
See Fig. 3, be the second embodiment flow chart of the application's battery charge-discharge control method, this electronic devices structure shown in embodiment composition graphs 2, describe keyboard equipment in detail and PANEL equipment combines the process of carrying out charge and discharge control:
Step 301: judge that electronic equipment is in first mode.
Step 302: determine to be controlled by the charge and discharge process of UC unit to battery of PANEL equipment.
Step 303: judged whether that power supply adaptor accesses, if do not have, performs step 304; If have, perform step 308.
Step 304:UC unit reads the electricity of the first battery in keyboard equipment.
Step 305: judge whether the electricity of the first battery exceedes predetermined threshold value, if so, then performs step 306; Otherwise, perform step 307.
Step 306:UC unit controls first battery is system power supply, terminates current process.
Step 307:UC unit controls second battery is system power supply, terminates current process.
Step 308:UC unit controls power supply adaptor is system power supply, and reads the electricity of the first battery and the second battery.
Step 309: judge that whether the electricity of the second battery is full, if so, then perform step 311; Otherwise, perform step 310.
Step 310:UC unit controls power supply adaptor is the second battery charging, returns step 309.
Step 311: judge that whether the electricity of the first battery is full, if so, then perform step 313; Otherwise, perform step 312.
Step 312:UC unit controls power supply adaptor is the first battery charging, returns step 311.
Step 313:UC unit controls power supply adaptor stops charging, terminates current process.
See Fig. 4, be the 3rd embodiment flow chart of the application's battery charge-discharge control method, this electronic devices structure shown in embodiment composition graphs 2, describe BASE equipment in detail and keyboard equipment combines the process of carrying out charge and discharge control:
Step 401: judge that electronic equipment is in the second pattern.
Step 402: determine to be controlled by the charge and discharge process of EC unit to battery of BASE equipment.
Step 403: judged whether that power supply adaptor accesses, if do not have, performs step 404; If have, perform step 405.
The first battery in step 404:EC unit controls keyboard equipment is system power supply, terminates current process.
Step 405:EC unit controls power supply adaptor is system power supply, and reads the electricity of the first battery.
Step 406: judge that whether the electricity of the first battery is full, if so, then perform step 408; Otherwise, perform step 407.
Step 407:EC unit controls power supply adaptor is the first battery charging, returns step 406.
Step 408:EC unit controls power supply adaptor stops charging, terminates current process.
See Fig. 5, be the 4th embodiment flow chart of the application's battery charge-discharge control method, this electronic devices structure shown in embodiment composition graphs 2, describe keyboard equipment, PANEL equipment and BASE equipment in detail and combine the process of carrying out charge and discharge control:
Step 501: judge that electronic equipment is in three-mode.
Step 502: determine to be controlled by the charge and discharge process of EC unit to battery of BASE equipment.
Step 503: judged whether that power supply adaptor accesses, if do not have, performs step 504; If have, perform step 508.
Step 504:EC unit reads the electricity of the first battery in keyboard equipment.
Step 505: judge whether the electricity of the first battery exceedes predetermined threshold value, if so, then performs step 506; Otherwise, perform step 507.
Step 506:EC unit controls first battery is system power supply, terminates current process.
Step 507:EC unit controls second battery is system power supply, terminates current process.
Step 508:EC unit controls power supply adaptor is system power supply, and reads the electricity of the first battery and the second battery.
Step 509: judge that whether the electricity of the second battery is full, if so, then perform step 511; Otherwise, perform step 510.
Step 510:EC unit controls power supply adaptor is the second battery charging, returns step 509.
Step 511: judge that whether the electricity of the first battery is full, if so, then perform step 513; Otherwise, perform step 512.
Step 512:EC unit controls power supply adaptor is the first battery charging, returns step 511.
Step 513:EC unit controls power supply adaptor stops charging, terminates current process.
See Fig. 6, be the 5th embodiment flow chart of the application's battery charge-discharge control method, this electronic devices structure shown in embodiment composition graphs 2, describe the process of charge and discharge control when being used alone keyboard equipment in detail:
Step 601: judge that electronic equipment is in four-mode.
Step 602: judged whether that power supply adaptor accesses, if having, performs step 603; Otherwise, perform step 606.
Step 603: judge that whether the electricity of the first battery in keyboard equipment is full, if so, then perform step 604; Otherwise, perform step 605.
Step 604: power supply adaptor stops being the first battery charging, terminates current process.
Step 605: by power supply adaptor be first battery charging, return step 603.
Step 606: the first battery discharges, terminates current process.
Except the charge and discharge control process under four kinds of mode of operations of the electronic equipment shown in earlier figures 3 to Fig. 6, when PANEL equipment is used alone, electronic equipment is in the 5th pattern, now by the second battery in PANEL equipment, system is powered, if this PANEL equipment can connect power supply adaptor, can be then its power supply by power supply adaptor, and the second battery is charged, if this PANEL equipment can not connect power supply adaptor, then the second battery is that PANEL equipment is powered until after electricity exhausts, connecting key disc apparatus can be passed through, or keyboard equipment and BASE equipment, the mode adopting previous embodiment to describe is charged, do not repeat them here.
Corresponding with the embodiment of the application's battery charge-discharge control method, present invention also provides the embodiment of the electronic equipment of this battery charge-discharge control method embodiment of application.
See Fig. 7, the embodiment block diagram for the application's electronic equipment:
This electronic equipment comprises: have the first housing 710 of an input unit 711, have the second housing 720 of a display unit 721 and the first control unit 722 and have the 3rd housing 730 of the second control unit 731, wherein said first housing 710, second housing 720 can be separated or combinationally use each other with the 3rd housing 730; Also comprise the first battery 740 and the second battery 750.
Wherein, described first battery 740 is arranged in the first housing, and described second battery 750 is arranged in described second housing; Or described first battery 740 is arranged in described 3rd housing, and described second battery 750 is arranged in described second housing.In order to example is convenient, the situation shown in Fig. 7 is that the first battery 740 is arranged in the first housing, and described second battery 750 is arranged in described second housing.
This electronic equipment also comprises:
Mode of operation determining unit 760, for judging the mode of operation of described electronic equipment, obtain the first judged result, determine that use first control unit or the second control unit control battery charge and discharge process under described mode of operation according to described first judged result;
Charge-discharge control unit 770, for having judged whether that power supply adaptor accesses, has obtained the second judged result, according to described second judged result, carries out charge and discharge control by the described control unit determined to described first battery and/or the second battery.
Wherein, described mode of operation can comprise: use the first mode of the first housing and the second housing simultaneously, use the second pattern of the first housing and the 3rd housing and use the three-mode of the first housing, the second housing and the 3rd housing simultaneously simultaneously.
Concrete, described mode of operation determining unit 760, during specifically for judging that described electronic equipment is in first mode, determines that described first control unit controls battery charge and discharge process in the first mode;
Described charge-discharge control unit 770 can comprise (not shown in Fig. 7): the first trigger element, for when the second judged result is not for having power supply adaptor to access, trigger the first control unit and judge whether the electricity of the first battery be arranged in the first housing exceedes default threshold value, if, be system power supply by described first battery, otherwise, be system power supply by the second battery be arranged in described second housing; Second trigger element, during for being power supply adaptor access when the second judged result, triggering the first control unit, to control described power supply adaptor be system power supply; Further, when triggering described first control unit and judging that the electricity of the second battery be arranged in described second housing is discontented with, be described second battery charging by described power supply adaptor, until the electricity of described second battery is full; Judge that the electricity of the second source be arranged in described second housing is as time full when triggering described first control unit, whether the electricity that judgement is arranged on the first battery in the first housing is full, if discontented, then by described power supply adaptor be described first battery charging, until the electricity of described first battery is full.
Concrete, described mode of operation determining unit 760, specifically for when judging that described electronic equipment is in the second pattern, determines that described second control unit controls battery charge and discharge process in the second mode;
Described charge-discharge control unit 770 can comprise (not shown in Fig. 7): the 3rd trigger element, for when the second judged result is not for having power supply adaptor to access, triggering the second control unit control the first battery be arranged in described first housing is system power supply; 4th trigger element, for when the second judged result is for there being power supply adaptor to access, triggering the second control unit, to control described power supply adaptor be system power supply; Further, triggering whether the electricity that described second control unit judges to be arranged on the first battery in the first housing is full, if discontented, is then described first battery charging by described power supply adaptor, until the electricity of described first battery is full.
Concrete, described mode of operation determining unit 760, specifically for when judging that described electronic equipment is in three-mode, determines that described second control unit controls battery charge and discharge process under described three-mode;
Described charge-discharge control unit 770 can comprise (not shown in Fig. 7): the 5th trigger element, for when the second judged result is not for having power supply adaptor to access, trigger the second control unit and judge whether the electricity of the first battery be arranged in the first housing exceedes default threshold value, if, be system power supply by described first battery, otherwise, be system power supply by the second battery be arranged in described second housing; 6th trigger element, during for being power supply adaptor access when the second judged result, triggering the second control unit, to control described power supply adaptor be system power supply; Further, when triggering second control unit judges that the electricity of the second battery be arranged in described second housing is discontented with, be described second battery charging by described power supply adaptor, until the electricity of described second battery is full; When triggering second control unit judges that the electricity of the power supply be arranged in described second housing is as time full, whether the electricity that judgement is arranged on the first battery in the first housing is full, if discontented, then by described power supply adaptor be described first battery charging, until the electricity of described first battery is full.
Further, described mode of operation can also comprise: be used alone the four-mode of described first housing, be used alone the 5th pattern of described second housing;
Described charge-discharge control unit 770, also for when judging that electronic equipment is in four-mode, judge whether that power supply adaptor accesses, if there is power supply adaptor to access, then judgement is arranged on whether the electricity of the first battery in the first housing is full, if discontented, be then described first battery charging by described power supply adaptor, until the electricity of described first battery is full; If do not have power supply adaptor to access, then control the first battery be arranged in described first housing and discharge;
Described charge-discharge control unit 770, also for when judging that electronic equipment is in the 5th pattern, then controls the second battery be arranged in described second housing and discharges.
By known to the description of above execution mode, in the embodiment of the present application, electronic equipment has the first battery and the second battery, also comprise first housing with an input unit, there is the second housing of a display unit and the first control unit, and there is the 3rd housing of the second control unit, when carrying out charge and discharge control, first the mode of operation of electronic equipment is judged, obtain the first judged result, determine that use first control unit or the second control unit control battery charge and discharge process under current operation mode according to the first judged result, then judged whether that power supply adaptor accesses, obtain the second judged result, according to the second judged result, by the control unit determined, charge and discharge control is carried out to the first battery and/or the second battery.When application the embodiment of the present application controls battery charge and discharge process, without the need to arranging independent control chip, the different working modes for electronic equipment adopts different charge and discharge control processes, and therefore control procedure is simple, and charge and discharge process is flexible.
Those skilled in the art can be well understood to the mode that technology in the embodiment of the present invention can add required general hardware platform by software and realize.Based on such understanding, technical scheme in the embodiment of the present invention can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product can be stored in storage medium, as ROM/RAM, magnetic disc, CD etc., comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform the method described in some part of each embodiment of the present invention or embodiment.
Each embodiment in this specification all adopts the mode of going forward one by one to describe, between each embodiment identical similar part mutually see, what each embodiment stressed is the difference with other embodiments.Especially, for system embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, relevant part illustrates see the part of embodiment of the method.
Above-described embodiment of the present invention, does not form limiting the scope of the present invention.Any amendment done within the spirit and principles in the present invention, equivalent replacement and improvement etc., all should be included within protection scope of the present invention.

Claims (14)

1. a battery charge-discharge control method, it is characterized in that, be applied in the electronic equipment at least with the first battery and the second battery, described electronic equipment at least comprises first housing with an input unit, second housing with a display unit and the first control unit and has the 3rd housing of the second control unit, wherein said first housing, the second housing can be separated each other with the 3rd housing, and described electronic equipment has multiple-working mode; Described battery charge-discharge control method comprises:
Judge the mode of operation of described electronic equipment, obtain the first judged result, determine that use first control unit or the second control unit control battery charge and discharge process under described mode of operation according to described first judged result;
Judge whether that power supply adaptor accesses, obtained the second judged result, according to described second judged result, by the described control unit determined, charge and discharge control has been carried out to described first battery and/or the second battery.
2. method according to claim 1, is characterized in that,
Described first battery is arranged in described first housing, and described second battery is arranged in described second housing; Or,
Described first battery is arranged in described 3rd housing, and described second battery is arranged in described second housing.
3. method according to claim 1 and 2, is characterized in that, described mode of operation comprises:
Use the first mode of the first housing and the second housing simultaneously, use the second pattern of the first housing and the 3rd housing and use the three-mode of the first housing, the second housing and the 3rd housing simultaneously simultaneously.
4. method according to claim 3, it is characterized in that, when judging that described electronic equipment is in first mode, determine that described first control unit controls battery charge and discharge process in the first mode, described according to described second judged result, by the described control unit determined, charge and discharge control is carried out to described first battery and/or the second battery and comprise:
When the second judged result is not for having power supply adaptor to access, trigger the first control unit and judge whether the electricity of the first battery be arranged in the first housing exceedes default threshold value, if, be system power supply by described first battery, otherwise, be system power supply by the second battery be arranged in described second housing;
When the second judged result is power supply adaptor access, triggering the first control unit, to control described power supply adaptor be system power supply; Further, when triggering described first control unit and judging that the electricity of the second battery be arranged in described second housing is discontented with, be described second battery charging by described power supply adaptor, until the electricity of described second battery is full; Judge that the electricity of the second source be arranged in described second housing is as time full when triggering described first control unit, whether the electricity that judgement is arranged on the first battery in the first housing is full, if discontented, then by described power supply adaptor be described first battery charging, until the electricity of described first battery is full.
5. method according to claim 3, it is characterized in that, when judging that described electronic equipment is in the second pattern, determine that described second control unit controls battery charge and discharge process in the second mode, described according to described second judged result, by the described control unit determined, charge and discharge control is carried out to described first battery and/or the second battery and comprise:
When the second judged result is not for having power supply adaptor to access, triggering the second control unit control the first battery be arranged in described first housing is system power supply;
When the second judged result is for there being power supply adaptor to access, triggering the second control unit, to control described power supply adaptor be system power supply; Further, triggering whether the electricity that described second control unit judges to be arranged on the first battery in the first housing is full, if discontented, is then described first battery charging by described power supply adaptor, until the electricity of described first battery is full.
6. method according to claim 3, it is characterized in that, when judging that described electronic equipment is in three-mode, determine that described second control unit controls battery charge and discharge process under described three-mode, described according to described second judged result, by the described control unit determined, charge and discharge control is carried out to described first battery and/or the second battery and comprise:
When the second judged result is not for having power supply adaptor to access, trigger the second control unit and judge whether the electricity of the first battery be arranged in the first housing exceedes default threshold value, if, be system power supply by described first battery, otherwise, be system power supply by the second battery be arranged in described second housing;
When the second judged result is power supply adaptor access, triggering the second control unit, to control described power supply adaptor be system power supply; Further, when triggering second control unit judges that the electricity of the second battery be arranged in described second housing is discontented with, be described second battery charging by described power supply adaptor, until the electricity of described second battery is full; When triggering second control unit judges that the electricity of the power supply be arranged in described second housing is as time full, whether the electricity that judgement is arranged on the first battery in the first housing is full, if discontented, then by described power supply adaptor be described first battery charging, until the electricity of described first battery is full.
7. method according to claim 3, is characterized in that, described mode of operation also comprises:
Be used alone the four-mode of described first housing, be used alone the 5th pattern of described second housing.
8. method according to claim 7, is characterized in that, also comprises:
When judging that electronic equipment is in four-mode, judge whether that power supply adaptor accesses, if there is power supply adaptor to access, then judgement is arranged on whether the electricity of the first battery in the first housing is full, if discontented, then by described power supply adaptor be described first battery charging, until the electricity of described first battery is full; If do not have power supply adaptor to access, then control the first battery be arranged in described first housing and discharge;
When judging that electronic equipment is in the 5th pattern, then control the second battery be arranged in described second housing and discharge.
9. an electronic equipment, it is characterized in that, described electronic equipment at least comprises the first battery and the second battery, also comprise first housing with an input unit, second housing with a display unit and the first control unit and there is the 3rd housing of the second control unit, wherein said first housing, the second housing can be separated each other with the 3rd housing, and described electronic equipment has multiple-working mode; Described electronic equipment also comprises:
Mode of operation determining unit, for judging the mode of operation of described electronic equipment, obtain the first judged result, determine that use first control unit or the second control unit control battery charge and discharge process under described mode of operation according to described first judged result;
Charge-discharge control unit, for having judged whether that power supply adaptor accesses, has obtained the second judged result, according to described second judged result, carries out charge and discharge control by the described control unit determined to described first battery and/or the second battery.
10. electronic equipment according to claim 9, is characterized in that, described first battery is arranged in the first housing, and described second battery is arranged in described second housing; Or described first battery is arranged in described 3rd housing, and described second battery is arranged in described second housing;
Described mode of operation comprises: use the first mode of the first housing and the second housing simultaneously, use the second pattern of the first housing and the 3rd housing and use the three-mode of the first housing, the second housing and the 3rd housing simultaneously simultaneously.
11. electronic equipments according to claim 10, is characterized in that,
Described mode of operation determining unit, during specifically for judging that described electronic equipment is in first mode, determines that described first control unit controls battery charge and discharge process in the first mode;
Described charge-discharge control unit comprises:
First trigger element, for when the second judged result is not for having power supply adaptor to access, trigger the first control unit and judge whether the electricity of the first battery be arranged in the first housing exceedes default threshold value, if, be system power supply by described first battery, otherwise, be system power supply by the second battery be arranged in described second housing;
Second trigger element, during for being power supply adaptor access when the second judged result, triggering the first control unit, to control described power supply adaptor be system power supply; Further, when triggering described first control unit and judging that the electricity of the second battery be arranged in described second housing is discontented with, be described second battery charging by described power supply adaptor, until the electricity of described second battery is full; Judge that the electricity of the second source be arranged in described second housing is as time full when triggering described first control unit, whether the electricity that judgement is arranged on the first battery in the first housing is full, if discontented, then by described power supply adaptor be described first battery charging, until the electricity of described first battery is full.
12. electronic equipments according to claim 10, is characterized in that,
Described mode of operation determining unit, specifically for when judging that described electronic equipment is in the second pattern, determines that described second control unit controls battery charge and discharge process in the second mode;
Described charge-discharge control unit comprises:
3rd trigger element, for when the second judged result is not for having power supply adaptor to access, triggering the second control unit control the first battery be arranged in described first housing is system power supply;
4th trigger element, for when the second judged result is for there being power supply adaptor to access, triggering the second control unit, to control described power supply adaptor be system power supply; Further, triggering whether the electricity that described second control unit judges to be arranged on the first battery in the first housing is full, if discontented, is then described first battery charging by described power supply adaptor, until the electricity of described first battery is full.
13. electronic equipments according to claim 10, is characterized in that,
Described mode of operation determining unit, specifically for when judging that described electronic equipment is in three-mode, determines that described second control unit controls battery charge and discharge process under described three-mode;
Described charge-discharge control unit comprises:
5th trigger element, for when the second judged result is not for having power supply adaptor to access, trigger the second control unit and judge whether the electricity of the first battery be arranged in the first housing exceedes default threshold value, if, be system power supply by described first battery, otherwise, be system power supply by the second battery be arranged in described second housing;
6th trigger element, during for being power supply adaptor access when the second judged result, triggering the second control unit, to control described power supply adaptor be system power supply; Further, when triggering second control unit judges that the electricity of the second battery be arranged in described second housing is discontented with, be described second battery charging by described power supply adaptor, until the electricity of described second battery is full; When triggering second control unit judges that the electricity of the power supply be arranged in described second housing is as time full, whether the electricity that judgement is arranged on the first battery in the first housing is full, if discontented, then by described power supply adaptor be described first battery charging, until the electricity of described first battery is full.
14. electronic equipments according to claim 10, is characterized in that, described mode of operation also comprises: be used alone the four-mode of described first housing, be used alone the 5th pattern of described second housing;
Described charge-discharge control unit, also for when judging that electronic equipment is in four-mode, judge whether that power supply adaptor accesses, if there is power supply adaptor to access, then judgement is arranged on whether the electricity of the first battery in the first housing is full, if discontented, be then described first battery charging by described power supply adaptor, until the electricity of described first battery is full; If do not have power supply adaptor to access, then control the first battery be arranged in described first housing and discharge;
Described charge-discharge control unit, also for when judging that electronic equipment is in the 5th pattern, then controls the second battery be arranged in described second housing and discharges.
CN201110298243.4A 2011-09-29 2011-09-29 Battery charge-discharge control method and electronic equipment Active CN103035966B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110298243.4A CN103035966B (en) 2011-09-29 2011-09-29 Battery charge-discharge control method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110298243.4A CN103035966B (en) 2011-09-29 2011-09-29 Battery charge-discharge control method and electronic equipment

Publications (2)

Publication Number Publication Date
CN103035966A CN103035966A (en) 2013-04-10
CN103035966B true CN103035966B (en) 2015-06-03

Family

ID=48022615

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110298243.4A Active CN103035966B (en) 2011-09-29 2011-09-29 Battery charge-discharge control method and electronic equipment

Country Status (1)

Country Link
CN (1) CN103035966B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015113461A1 (en) 2014-01-28 2015-08-06 广东欧珀移动通信有限公司 Power adapter and terminal
CN107069848B (en) * 2014-01-28 2019-05-31 Oppo广东移动通信有限公司 Charge mode switching circuit and method
CN108155678A (en) * 2016-12-02 2018-06-12 富泰华工业(深圳)有限公司 Electronic device and the method for controlling the electronic device charge and discharge
CN106990824A (en) * 2017-04-24 2017-07-28 合肥宝龙达信息技术有限公司 A kind of double cell management method and system applied on two-in-one notebook
CN107171395A (en) * 2017-06-26 2017-09-15 联想(北京)有限公司 A kind of charge/discharge control method, controller and electronic equipment
CN109066892B (en) * 2018-09-10 2021-02-05 Oppo广东移动通信有限公司 Split screen electronic equipment charging circuit and charging control method
CN109378868B (en) * 2018-09-14 2021-05-14 Oppo广东移动通信有限公司 Electronic equipment power supply circuit and electronic equipment
CN109450058A (en) * 2019-01-11 2019-03-08 深圳市迷购网络科技有限公司 Earphone charging method, earphone and computer readable storage medium
CN115549232B (en) * 2022-04-21 2024-03-22 荣耀终端有限公司 Charging method and device of electronic equipment, electronic equipment and keyboard

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1808336A (en) * 2005-01-20 2006-07-26 英业达股份有限公司 Charging management method and system
CN101350436A (en) * 2007-07-20 2009-01-21 深圳市顶星数码网络技术有限公司 Intelligent control method for charging battery of notebook computer
CN101677143A (en) * 2008-09-19 2010-03-24 联想(北京)有限公司 Mobile terminal charging control method and mobile terminals
CN101939892A (en) * 2008-02-19 2011-01-05 丰田自动车株式会社 Vehicle and method for estimating charged state of secondary battery

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3730414B2 (en) * 1998-07-15 2006-01-05 株式会社東芝 Computer and power supply control method thereof
US20090001928A1 (en) * 2007-06-27 2009-01-01 John Arthur Fee Transformation of battery charger to power source using signature adapters
JP2010011682A (en) * 2008-06-30 2010-01-14 Toshiba Corp Information processor, battery unit, battery charging method, and program
US20110095728A1 (en) * 2009-10-28 2011-04-28 Superior Communications, Inc. Method and apparatus for recharging batteries in a more efficient manner
JP2011151891A (en) * 2010-01-19 2011-08-04 Sony Corp Method and apparatus for charging secondary battery
KR20110090212A (en) * 2010-02-03 2011-08-10 삼성전자주식회사 Apparatus and method for reducing time to charge battery in portable device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1808336A (en) * 2005-01-20 2006-07-26 英业达股份有限公司 Charging management method and system
CN101350436A (en) * 2007-07-20 2009-01-21 深圳市顶星数码网络技术有限公司 Intelligent control method for charging battery of notebook computer
CN101939892A (en) * 2008-02-19 2011-01-05 丰田自动车株式会社 Vehicle and method for estimating charged state of secondary battery
CN101677143A (en) * 2008-09-19 2010-03-24 联想(北京)有限公司 Mobile terminal charging control method and mobile terminals

Also Published As

Publication number Publication date
CN103035966A (en) 2013-04-10

Similar Documents

Publication Publication Date Title
CN103035966B (en) Battery charge-discharge control method and electronic equipment
JP4940326B2 (en) Charging device, electronic device, and charging method
EP2650752B1 (en) Terminal device and power supply method for terminal device
US20180366967A1 (en) Charging device and charging method
US8051308B2 (en) Display device with USB connectivity
CN102577021B (en) Mobile terminal device, power supply system, and power supply method and power supply program for mobile terminal device
US20030090236A1 (en) Electrical apparatus, computer, and power switching method
US20130254580A1 (en) Method and System for Supplying Power to USB Device
CN101677143B (en) Mobile terminal charging control method and mobile terminals
CN107465227B (en) Electronic equipment and control method thereof
CN1996701A (en) Battery charging management system and method
CN103207656B (en) Computer with integrated and its method for managing power supply
WO2012013129A1 (en) Terminal and method for charging and discharging thereof
EP2730994B1 (en) Charging and discharging management device and mobile terminal
CN106774769B (en) Terminal working mode switching method and device and handheld terminal
JP2004159382A (en) Electronic apparatus
CN115549232A (en) Charging method and device of electronic equipment, electronic equipment and keyboard
CN103257597B (en) Control method and electronic equipment
CN102298435A (en) Battery module and management method for the same
EP2725680B1 (en) Electronic device and power supplying control method thereof
CN104184179A (en) Battery control method and device, and wireless terminal
CN103049419A (en) Dual computer system
KR20110048702A (en) Battery pack of notebook computer
US9507400B2 (en) Information handling system battery charge management to support quick start
KR20070035818A (en) Battery pack, portable electronic apparatus, and control method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant