CN104394582A - WiFi sleeping method for Android device - Google Patents
WiFi sleeping method for Android device Download PDFInfo
- Publication number
- CN104394582A CN104394582A CN201410677722.0A CN201410677722A CN104394582A CN 104394582 A CN104394582 A CN 104394582A CN 201410677722 A CN201410677722 A CN 201410677722A CN 104394582 A CN104394582 A CN 104394582A
- Authority
- CN
- China
- Prior art keywords
- wifi
- dormancy
- android
- state
- android device
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
- H04W52/0261—Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/16—Discovering, processing access restriction or access information
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Power Sources (AREA)
Abstract
The invention relates to a WiFi sleeping method for an Android device. The method is characterized in that a screen is closed when the Android device starts sleeping, the WiFi is turned on during examination, and the network is disconnected at the same time, wherein the WiFi turn-on state is to be memorized; then the action of turning off the WiFi is carried out by memorizing the wireless network connection information before turning off the WiFi, synchronizing all WiFi turn-off states of the Android system, WiFi driven is uninstalled, and meanwhile, a power supply of a WiFi hardware module is disconnected; the device enters the sleeping state about 2 minutes after the action above; the screen is lighted when the Android device is waken up; the WiFi turn-on state is memorized before sleeping, so that the WiFi can be turned on by supplying power to the WiFi hardware module, the WiFi drive is loaded again and then is initialized, all WiFi turn-on states of the Android software system are synchronized, the wireless network connection information before the turn off of the WiFi under sleeping can be recovered, and therefore, the WiFi can be recovered to be in the normal running state before sleeping.
Description
Technical field
The present invention relates to the WiFi dormancy method of Android device.
Background technology
When opening WiFi in known Android device, system will go loading and initialization WiFi to drive, power also can to WiFi hardware module, voltage is generally 3.3V simultaneously, and electric current can be in the difference of normal work or resting state and different because of WiFi hardware module.When opening WiFi and connecting wireless network, when equipment enters dormancy, the network connection state of WiFi can have two kinds of selections: keep network to connect or disconnect network connecting, known Android device is in these two kinds of selection situations, the power supply of WiFi hardware module can not disconnect, once power supply is disconnected, before the action of " initialization WiFi drives " will be invalid, causing equipment to wake rear WiFi up cannot use.
When known Android device enters dormancy, the network connection state of WiFi can have two kinds of selections: keep network to connect or disconnect network connecting.The power supply of WiFi hardware module in this case can not disconnect certainly " to keep network to connect "; But when " disconnect network connect ", if the power supply of WiFi hardware module does not still disconnect, the voltage of WiFi hardware module is generally 3.3V, electric current is 1-10mA not grade (the WiFi module of different model has the electric current under different resting states).Consider generally, if Android device does not open WiFi, the electric current that whole equipment enters resting state is about 20mA (supply power voltage of equipment is also 3.3V), comparatively speaking: in above-mentioned " disconnecting network to connect " situation, the power consumption of WiFi hardware module is still very large, and result causes device standby time decreased the most intuitively.
Summary of the invention
Object of the present invention, when being for Android device dormancy, when WiFi disconnects network connection, accomplish that the power supply of WiFi hardware module disconnects, when such device sleeps, WiFi hardware module is uncharged (voltage is 0V and electric current is 0mA), thus significantly improves the stand-by time of Android device.Simultaneously the present invention also can after equipment wakes up, by reload to drive with initialization WiFi allow WiFi return to dormancy before the normal state run.
Concrete technical scheme of the present invention is as follows:
Be used in the WiFi dormancy method in Android device, when Android device starts dormancy, screen can be closed, be at this moment checked through WiFi open and dormancy time to disconnect network connect, remember that WiFi opens this state; Then go to perform the action of closing WiFi: this action comprises preserves the wireless network link information before closing WiFi, all states when synchronous Android system WiFi closes, and unloading WiFi drives, and the power supply of WiFi hardware module is disconnected simultaneously; After these action executings complete about 2 minutes, equipment can enter resting state.
When Android device is waken up, screen can be lighted, have before dormancy and remember that WiFi opens this state, so will go to perform the action of opening WiFi: this action comprises powers to WiFi hardware module, reload and drive with initialization WiFi, all states when synchronous Android upper system WiFi opens, close the wireless network link information before WiFi when recovering dormancy, so just allow WiFi return to dormancy before the normal state run.
beneficial effect
When Android device opens WiFi and connecting wireless network, etc. device sleeps time WiFi disconnect network connect, when not using this method, under resting state the power supply of WiFi hardware module still, the voltage of WiFi hardware module is generally 3.3V, and electric current is that 1-10mA does not wait (the WiFi module of different model has the electric current under different resting states).
And after employing the present invention, the power supply of WiFi hardware module can be disconnected when device sleeps, this time, the voltage of WiFi hardware module was 0V, electric current is 0mA, equipment wakes rear WiFi up also can recover normal use, so just when device sleeps, the power consumption of WiFi hardware module all can be saved, thus significantly improve the stand-by time of Android device.
Accompanying drawing explanation
Fig. 1 is a kind of WiFi dormancy method flow chart be used in Android device of the present invention.
Fig. 2 is a kind of WiFi awakening method flow chart be used in Android device of the present invention.
Embodiment
For making this method implementation process, technical scheme and advantage clearly, below in conjunction with accompanying drawing, technical scheme of the present invention is clearly and completely described.
Fig. 1 is a kind of WiFi dormancy method flow chart be used in Android device of the present invention.As shown in Figure 1, a kind of WiFi dormancy method flow process be used in Android device comprises the steps:
Step 1: time Android device starts dormancy, screen can be closed.
Step 2: if this time we be checked through WiFi open and dormancy time to disconnect network connect, so first remember " WiFi opens " this state, need when waking up to recover this state.
Step 3: preserve the wireless network link information before closing WiFi, all states when synchronous Android system WiFi closes.
Step 4: then unload WiFi and drive, the power supply of WiFi hardware module is disconnected simultaneously.
Step 5: after complete above-mentioned steps about 2 minutes, equipment can enter resting state.
Fig. 2 is a kind of WiFi awakening method flow chart be used in Android device of the present invention.As shown in Figure 2, in order to allow WiFi return to dormancy before the normal state run, the WiFi awakening method flow process be used in Android device comprises the steps:
Step 1: time Android device starts to wake up, screen can be lighted.
Step 2: remember " WiFi opens " this state if had before dormancy, powers so first to WiFi hardware module, reloads simultaneously and drive with initialization WiFi.
Step 3: all states when last synchronous Android upper system WiFi opens, closes the wireless network link information before WiFi when recovering dormancy.
Should be understood that, application of the present invention is not limited to above-mentioned citing, for those of ordinary skills, can be improved according to the above description or convert, and all these improve and convert the protection range that all should belong to claims of the present invention.
Claims (1)
1. be used in the WiFi dormancy method in Android device, when Android device starts dormancy, screen can be closed, be at this moment checked through WiFi open and dormancy time to disconnect network connect, remember that WiFi opens this state; Then go to perform the action of closing WiFi: this action comprises preserves the wireless network link information before closing WiFi, all states when synchronous Android system WiFi closes, and unloading WiFi drives, and the power supply of WiFi hardware module is disconnected simultaneously; After these action executings complete about 2 minutes, equipment can enter resting state;
When Android device is waken up, screen can be lighted, have before dormancy and remember that WiFi opens this state, so will go to perform the action of opening WiFi: this action comprises powers to WiFi hardware module, reload and drive with initialization WiFi, all states when synchronous Android upper system WiFi opens, close the wireless network link information before WiFi when recovering dormancy, so just allow WiFi return to dormancy before the normal state run.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410677722.0A CN104394582A (en) | 2014-11-24 | 2014-11-24 | WiFi sleeping method for Android device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410677722.0A CN104394582A (en) | 2014-11-24 | 2014-11-24 | WiFi sleeping method for Android device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104394582A true CN104394582A (en) | 2015-03-04 |
Family
ID=52612399
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410677722.0A Pending CN104394582A (en) | 2014-11-24 | 2014-11-24 | WiFi sleeping method for Android device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104394582A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105306682A (en) * | 2015-09-18 | 2016-02-03 | 广东欧珀移动通信有限公司 | Method and device for automatically disconnecting network connection |
CN105872189A (en) * | 2015-11-13 | 2016-08-17 | 乐视移动智能信息技术(北京)有限公司 | Automatic reconnection method and device after dormancy wakeup of mobile phone |
CN106900038A (en) * | 2017-02-21 | 2017-06-27 | 苏州福瑞思信息科技有限公司 | Communication chip idle method, device, communication chip and electronic equipment |
CN107306291A (en) * | 2016-04-22 | 2017-10-31 | 中兴通讯股份有限公司 | A kind of terminal operation method and device |
CN114173339A (en) * | 2020-09-10 | 2022-03-11 | 合肥君正科技有限公司 | Method and device for quickly connecting WiFi network, storage medium and electronic equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102111858A (en) * | 2009-12-29 | 2011-06-29 | Lg电子株式会社 | Mobile terminal and controlling method thereof |
CN102622079A (en) * | 2012-02-25 | 2012-08-01 | 华为终端有限公司 | Sleep method, wakening method and mobile terminal device |
CN103179647A (en) * | 2013-03-11 | 2013-06-26 | 广东欧珀移动通信有限公司 | Method and mobile terminal for intelligently controlling wifi (wireless fidelity) module |
CN103200314A (en) * | 2013-03-05 | 2013-07-10 | 广东欧珀移动通信有限公司 | Intelligent sleep method of mobile terminal and intelligent sleep device of mobile terminal |
CN103442148A (en) * | 2013-09-11 | 2013-12-11 | 广州市久邦数码科技有限公司 | Intelligent power-saving system and intelligent power-saving method for mobile terminals |
-
2014
- 2014-11-24 CN CN201410677722.0A patent/CN104394582A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102111858A (en) * | 2009-12-29 | 2011-06-29 | Lg电子株式会社 | Mobile terminal and controlling method thereof |
CN102622079A (en) * | 2012-02-25 | 2012-08-01 | 华为终端有限公司 | Sleep method, wakening method and mobile terminal device |
CN103200314A (en) * | 2013-03-05 | 2013-07-10 | 广东欧珀移动通信有限公司 | Intelligent sleep method of mobile terminal and intelligent sleep device of mobile terminal |
CN103179647A (en) * | 2013-03-11 | 2013-06-26 | 广东欧珀移动通信有限公司 | Method and mobile terminal for intelligently controlling wifi (wireless fidelity) module |
CN103442148A (en) * | 2013-09-11 | 2013-12-11 | 广州市久邦数码科技有限公司 | Intelligent power-saving system and intelligent power-saving method for mobile terminals |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105306682A (en) * | 2015-09-18 | 2016-02-03 | 广东欧珀移动通信有限公司 | Method and device for automatically disconnecting network connection |
CN105306682B (en) * | 2015-09-18 | 2019-01-11 | Oppo广东移动通信有限公司 | The method and device of network connection switch is automatically closed |
CN105872189A (en) * | 2015-11-13 | 2016-08-17 | 乐视移动智能信息技术(北京)有限公司 | Automatic reconnection method and device after dormancy wakeup of mobile phone |
CN107306291A (en) * | 2016-04-22 | 2017-10-31 | 中兴通讯股份有限公司 | A kind of terminal operation method and device |
CN106900038A (en) * | 2017-02-21 | 2017-06-27 | 苏州福瑞思信息科技有限公司 | Communication chip idle method, device, communication chip and electronic equipment |
CN114173339A (en) * | 2020-09-10 | 2022-03-11 | 合肥君正科技有限公司 | Method and device for quickly connecting WiFi network, storage medium and electronic equipment |
CN114173339B (en) * | 2020-09-10 | 2023-05-05 | 合肥君正科技有限公司 | Method and device for quickly connecting WiFi network, storage medium and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104394582A (en) | WiFi sleeping method for Android device | |
CN102622079B (en) | Sleep method, wakening method and mobile terminal device | |
CN102421134B (en) | Wireless access point equipment and method for controlling same | |
CN104460451A (en) | System starting control method of vehicle-mounted information service terminal product | |
CN106004507A (en) | Method for realizing automatic recovery of charging of electric automobile through voltage monitoring | |
CN207274597U (en) | Vehicle central control device and vehicle control equipment | |
CN107168087B (en) | Socket control system for storing and recovering intelligent household parameters by detecting power failure | |
CN102968174A (en) | Deep sleep awakening method of android device | |
CN104362403A (en) | Battery charging control method and device | |
CN107493595A (en) | A kind of low-power consumption safety certification device and control method | |
CN105576744A (en) | Charge pal switching implementation method and charge pal | |
CN105744604B (en) | WIFI module power consumption control device and method based on android system | |
CN104979892A (en) | System and method for preventing OPS abnormal power failure of OPS-TV all-in-one machine | |
CN105703021A (en) | Battery management system with low standby power consumption and battery management system awaking method | |
CN102193616A (en) | Method for controlling power supply of electronic device for improving battery life | |
CN108656976A (en) | Battery management system | |
CN107037744B (en) | Automatic power supply control system with cloud remote wake-up function | |
CN110908834A (en) | Power failure restart device and method and electronic equipment | |
WO2016045363A1 (en) | Method for cpu to control wifi module via hsic bus interface | |
CN103593638B (en) | Low-power consumption bar code decoding equipment based on image procossing | |
CN203312903U (en) | Diesel generator self-starting system with three switchable starting modes | |
CN207704232U (en) | A kind of intelligent terminal of timed power on/off | |
CN201886311U (en) | Power-off protection device for X-ray generator | |
CN104992697A (en) | Energy-saving method and system for KTV song-on-demand system | |
CN204537119U (en) | A kind of touch-controlled electronic devices |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20150304 |