Embodiments described herein relate generally to an electronic apparatus removably connected to an external apparatus.
Recently, there have been electronic apparatuses that can be used on their own and can be used by being connected to an external apparatus. One of the examples is a tablet computer (hereinafter referred to as tablet). A tablet includes a touch panel but not an input device such as keyboard or mouse. By the touch operation of the touch panel, a user can run various applications and select various buttons of the interface screen of the applications. Further, the user can input characters by displaying a software keyboard on the screen and touching its keys. However, because some users prefer to input characters with a hardware keyboard, a keyboard dock is sold separately. When connected to the keyboard dock, the tablet becomes like a PC with being opened and can be used as such. The tablet and keyboard dock are equipped with a rechargeable battery and can be used as a mobile device where AC power is unavailable. While the tablet requires a battery as being used on its own, some keyboard docks are not equipped with a battery. A keyboard dock that is not equipped with a battery is driven by a battery equipped in a tablet when the tablet is connected. The battery is charged when the tablet and keyboard dock are driven by AC power.
In contrast, there is a concern regarding the battery that its function will deteriorate prematurely and its lifetime is shortened if a battery charge completion state (full-charge state) is maintained for a long time when the capacity at the time of battery charge completion (at the time of full charge) is around a rating. If a charge state is maintained around a capacity that is smaller than a rated capacity, it is possible to make deterioration in function less likely to occur and make lifetime less likely to be shortened. Therefore, when an AC adaptor is mainly used and the battery hardly used, it is possible to delay the function deterioration of the battery if the capacity at the time of full charge is reduced to smaller than a rating. In order to achieve this, a recent mobile device can switch a charge mode between a normal charge mode (where the capacity at the time of full charge is a rating) and an eco-charge mode where the capacity at the time of full charge is smaller than a rating. Nevertheless, when two apparatuses are each equipped with a battery or only one of them is equipped with a battery, it is not easy to set the charge mode of the respective apparatuses.
A general architecture that implements the various features of the embodiments will now be described with reference to the drawings. The drawings and the associated descriptions are provided to illustrate the embodiments and not to limit the scope of the invention.
Various embodiments will be described hereinafter with reference to the accompanying drawings.
In general, according to one embodiment, an electronic apparatus removably connectable to an external apparatus includes a first battery and circuitry. The circuitry is configured to set a charge mode of the first battery to a first mode or a second mode, wherein a capacity at a charge completion time of the second mode is smaller than a capacity at a charge completion time of the first mode; set, when the external apparatus includes a second battery, a charge mode of the second battery to the first mode or the second mode; and display a combination of charge mode options of the first mode and the second mode for the first battery and charge mode options of the first mode and the second mode for the second battery, and usage information for the electronic apparatus and the external apparatus suitable for the combination.
The CPU 32 is a processor circuit that controls the operation of the components in the tablet 10. The CPU 32 executes a variety of software loaded from the nonvolatile memory 52, which is a storage device, to the main memory 48. The software includes an operating system (OS) and application programs and utility programs. The utility programs include a battery manager that sets the charge mode of a battery.
The CPU 32 also executes a basic input/output system (BIOS) stored in the BIOS-ROM 50. The BIOS is a program for controlling hardware.
The system controller 34 is a device that is connected to the components of the CPU 32 such as the graphics controller 36, the wireless communication device 42, the embedded controller 44, the dock/undock detector 46, the main memory 48, the BIOS-ROM 50, the nonvolatile memory 52 and the tablet controller 54 and connects the local bus of the CPU 32 and the components. The system controller 34 is equipped with a memory controller that performs access control for the main memory 48. The system controller 34 has a function to execute communication with the graphics controller 36 via, for example, a serial bus conforming to the PCI EXPRESS standard.
The graphics controller 36 is a display controller that controls the LCD 38 which is used as a display monitor of the tablet 10. A display signal generated by the graphics controller 36 is transmitted to the LCD 38. The LCD 38 displays a screen image based on the display signal. On the LCD 38 is provided the touch panel 40. The touch panel 40 is a capacitance-type pointing device for performing input on the screen of the LCD 38. The contact position on the screen touched by a finger, the movement of the contact position, etc., is detected by the touch panel 40.
The wireless communication controller 42 is a device configured to execute wire communication such as wireless LAN or 3G mobile communication in order to connect to the internet, etc.
The embedded controller 44 is a single-chip microcontroller for power management. A battery 72 and an AC adaptor 74 are connected to the embedded controller 44. The tablet 10 is driven by current from the AC adaptor 74 or the battery 72. The battery 72 is charged by current from the AC adaptor 74 during undocking. The AC adaptor 74 is connected to the tablet 10 via the docking port in the lower end portion of the tablet 10. Therefore, during docking, the AC adaptor 74 cannot be connected to the tablet 10, the tablet 10 is not supplied with current from the AC adaptor 74, and the battery 72 cannot be charged by current from the AC adaptor 74. During docking, the battery 72 equipped in the tablet 10 is charged by current from the keyboard dock 12.
The dock/undock detector 46 detects docking and undocking of the keyboard dock 12 by means of a mechanical switch provided in the docking connector and by means of the level change of a particular signal line connected to the keyboard dock 12. When docking is detected, a docking event is generated. The dock/undock detector 46 can also detect the model of a keyboard dock docking the tablet 10. The model of a keyboard dock includes a model equipped with a battery and a model that is not equipped with a battery.
The tablet controller 54 is a connecting interface of the keyboard dock 12 and is connected to the keyboard dock 12 via the docking port.
The keyboard dock 12 includes a dock controller 58, a system controller 56, an embedded controller/keyboard controller (EC/KBC) 60, the keyboard 16, etc. The battery 76 and the AC adaptor 78 are connected to the embedded controller/keyboard controller 60. The embedded controller/keyboard controller 60 performs power management and keyboard control. The AC adaptor 78 is connected to the keyboard dock 12 via the side surface or the back surface of the keyboard dock 12. In some models, the keyboard dock 12 is not equipped with the battery 76. The keyboard dock 12 is driven by the battery 72 equipped in the tablet 10, when the tablet 10 is docked to the keyboard dock 12 which is not equipped with the battery 76 and the AC adaptor 78 is not connected to the keyboard dock 12.
As shown in
As described above, a capacity at the time of battery charge completion should be reduced to smaller than a rating in order to prolong the lifetime of a battery. Therefore, in the embodiment, the battery manager that can adjust a capacity at the time of battery charge completion is prepared as a utility program of the tablet 10. When the battery manager is activated, the setting screen of a charge mode is displayed as shown in, for example,
The embodiment is not limited to a use form including two batteries as shown in
In block 102, it is determined whether the operation mode of the tablet 10 is an audit mode. The audit mode is a mode that indicates a condition where an OS is being set and is considered as a mode that is used in a production line, etc., and is not actually used by the user. Therefore, in the audit mode, no processing is substantially performed and an INI file that records data on setting is searched in block 104. The INI file records data on whether connection was made to a keyboard dock equipped with a battery in the past and data on the model of the keyboard dock.
In block 106, it is determined whether the INI file exists. If the INI file exists, the INI file is deleted in block 108 because no INI file is required in the audit mode and the battery manager (if activated) is ended in block 110. If no INI file exists, the battery manager is ended in block 110.
If not in the audit mode, an INI file that records a setting is searched in block 114. In block 116, it is determined whether the INI file exists. If the INI file exists, data on whether connection was made to the keyboard dock 12 equipped with the battery 76 in the past even once is read from the INI file in block 118. The battery 72 equipped in the tablet 10 is referred to as the first battery and the battery 76 equipped in the keyboard dock 12 is referred to as the second battery. In block 120, it is determined whether connection was made to the keyboard dock equipped with the battery, i.e., the second battery in the past. If the connection was made, the state of the dock/undock detector 46 is checked in block 124.
In block 126, it is determined whether the tablet 10 is docked to the keyboard dock 12 equipped with the battery 76 (second battery). If docked, a dock flag is set and saved in the INI file in block 128. In this case, since two batteries exist, the user interface (UI) of
If it is determined in block 126 that the tablet 10 is not docked to the keyboard dock 12 equipped with the battery 76 (second battery), the dock flag is reset and saved in the INI file in block 132. In this case, since connection was made to the keyboard dock equipped with the second battery in the past (it is highly likely that the user owns a keyboard dock equipped with the second battery) though docking is not made currently to the keyboard dock equipped with the second battery, the user interface of
In block 120, if the connection was not made to the keyboard dock equipped with the second battery in the past, the state of the dock/undock detector 46 is checked in block 140.
In block 142, it is determined whether the tablet 10 is docked to the keyboard dock 12 equipped with the second battery 76. If docked, the dock flag is set and saved in the INI file in block 128. In this case, since two batteries exist, the user interface (UI) of
If it is determined in block 142 that the tablet 10 is not docked to the keyboard dock 12 equipped with the second battery 76, the dock flag is reset and saved in the INI file in block 144. In this case, since connection is/was not made to the keyboard dock 12 equipped with the second battery 76 currently or in the past, it is highly likely that the user does not own a keyboard dock equipped with the second battery. Thus, the user interface of
Thus, according to the utility program of
While the battery manager has a function to display the description of a charge mode according to the setting state of a charge mode as shown in
A monitoring timer, which records the change in capacity value of a battery as time passes, is provided to detect a charge/discharge state. Since the battery manager is a utility program of the tablet 10, the battery manager cannot monitor the battery of the keyboard dock 12 to which the tablet 10 is not docked. Therefore, in the embodiment, the monitoring timer is provided in the EC 44 of the tablet 10 and the EC/KBC 60 of the keyboard dock 12 to monitor charge/discharge of the battery by the respective embedded controllers of the tablet 10 and the keyboard dock 12. While the battery on the side of the tablet 10 can be monitored by the battery manager and the EC 44 therefore does not need to be provided with the monitoring timer, the monitoring timer is provided in the EC 44 because the processing can be performed more easily together with the keyboard dock 12.
The monitoring timers of the EC/KBC 60 and the EC 44 cannot determine whether battery discharge (battery drive) is performed by means of a device by the user or by means of a device in a factory before shipment. That is, when the battery is used before shipment, the monitoring timers of the EC/KBC 60 and the EC 44 cannot properly monitor the charge/discharge state of the battery. However, the utility program of the tablet 10 can recognize that the user starts to use. Therefore, in the embodiment, the utility program resets the monitoring timers of the EC/KBC 60 and the EC 44 when the user starts using.
In block 252, the EC/KBC 60 starts the monitoring timer to measure the capacity of the battery 76 and calculate time change in capacity. The EC/KBC 60 checks the charge/discharge state of the battery 76 in block 254. The EC/KBC 60 determines in block 256 whether the setting recommendation condition of the eco-charge mode is satisfied (for example, not limited thereto though, a state where the capacity of a battery is close to full charge continues for a predetermined time). If satisfied, the EC/KBC 60 sets a recommendation flag in block 258 and returns to block 254 to continue to check the charge/discharge state of the battery 76.
If the setting recommendation condition of the eco-charge mode is not satisfied, the EC/KBC 60 determines in block 260 whether the automatic release condition of the eco-charge mode is satisfied (for example, not limited thereto though, charging from a state where a battery capacity is close to full charge to a state where a battery capacity is close to 0% is repeated within a predetermined time by a predetermined number of times). If satisfied, the EC/KBC 60 sets a release flag in block 260 and returns to block 254 to continue to check the charge/discharge state of the battery 76.
In contrast, the utility program (battery manager) determines in block 202 whether the battery manager is activated. If not activated, the utility program determines in block 204 whether suspend is changed to resume. If not changed, the utility program determines in block 206 whether a docking event is detected. If no docking event is detected, block 202 is executed again.
If the battery manager is activated in block 202, if suspend is changed to resume in block 204, and if a docking event is detected in block 206, the utility issues a command for acquiring the recommendation/release flag and transmits the command to the BIOS (tablet) in block 208. The BIOS requests the EC/KBC 60 to acquire the recommendation/release flag in block 240.
The processing mentioned above so far can be performed independently in the tablet 10 and the keyboard dock 12, respectively. Therefore, even if the tablet 10 is not docked to the keyboard dock 12, the EC/KBC 60 checks the charge/discharge state of the battery 76 and sets the recommendation/release flag once the condition is satisfied.
When the tablet 10 is docked to the keyboard dock 12, the utility performs the processing from block 208 of
The utility determines in block 214 whether the recommendation flag is set. If the recommendation flag is set, the utility displays a recommendation message as shown in
If no recommendation flag is set in block 214, the utility determines in block 218 whether the release flag is set. If the release flag is set, the utility forcibly releases the eco-charge mode to set the normal charge mode in block 220 and the utility displays a release report message as shown in
If no release flag is set in block 218, the utility determines in block 224 whether the tablet is activated for the first time. If this is the first activation (for example, the permission screen of OS is operated), the utility proceeds to block 228. If not the first activation, the utility determines in block 226 whether the tablet is docked to the keyboard dock for the first time. If this is the first docking, the utility proceeds to block 228.
The utility issues a command for resetting the monitoring timer and transmits the command to the BIOS (tablet) in block 228. The BIOS requests the EC/KBC 60 to execute resetting the monitoring timer in block 244. The EC/KBC 60 resets the monitoring timer to discard the previous monitoring values in block 266. Block 254 is executed after block 266 to newly monitor a charge/discharge state from this timing.
By the processing of
While the recommendation message that prompts the user to switch is displayed in a state of use that recommends the eco-charge mode, switching may be automatically made to the eco-charge mode to display its report message. While switching is automatically made to the normal charge mode to display its report message in a state of use that recommends the normal charge mode, only a recommended message that prompts the user to switch may be displayed.
As described above, according to the embodiment, an appropriate setting screen on the battery charge mode in accordance with the user's state of use can be displayed by checking a state of docking to the keyboard dock and the presence or absence of the battery equipped in the keyboard dock. Also, since the embedded controller of the keyboard dock checks the battery of the keyboard dock, the tablet can recognize the monitoring result of the charge/discharge state of the battery of the keyboard dock at the time of undocking.
The various modules of the systems described herein can be implemented as software applications, hardware and/or software modules, or components on one or more computers, such as servers. While the various modules are illustrated separately, they may share some or all of the same underlying logic or code.
While certain embodiments have been described, these embodiments have been presented by way of example only, and are not intended to limit the scope of the inventions. Indeed, the novel embodiments described herein may be embodied in a variety of other forms; furthermore, various omissions, substitutions and changes in the form of the embodiments described herein may be made without departing from the spirit of the inventions. The accompanying claims and their equivalents are intended to cover such forms or modifications as would fall within the scope and spirit of the inventions.
This application claims the benefit of U.S. Provisional Application No. 62/082,792, filed Nov. 21, 2014, the entire contents of which are incorporated herein by reference.
Number | Date | Country | |
---|---|---|---|
62082792 | Nov 2014 | US |