is a visual Delphi/C++Builder component that diplays the charging
level of the battery in a chart. You can specify different colors
for different charging levels and you can indicate it also in text
format in percents.
Beside this, it has many other useful methods to:
- get battery status
- get AC line status
- get battery lifetime
- turn off the computer
- hibernate the computer
- suspend (standby) the computer
- reboot the computer
- turn off monitor
- run screen saver
- log off interactive user
- get Windows version
- enable hibernation
It has more power related events like:
- OnResumeAutomatic and so on.
The demo version is fully functional in Delphi/C++Builder IDE, but
it displays a nag dialog (the licensed version will, of course,
not have a nag dialog and will not be limited to the IDE). The package
includes demo programs for Delphi and C++Builder and a help file
with the description of the component.
Available for: Delphi 10.3 Rio (Win32 & Win64),
Delphi 10.2 Tokyo (Win32 & Win64), Delphi 10.1 Berlin (Win32
& Win64), Delphi 10 Seattle (Win32 & Win64), Delphi XE8
(Win32 & Win64), Delphi XE7 (Win32 & Win64), Delphi XE6
(Win32 & Win64), Delphi XE5 (Win32 & Win64), Delphi XE4
(Win32 & Win64), Delphi XE3 (Win32 & Win64), Delphi XE2
(Win32 & Win64), Delphi XE, Delphi 2010, Delphi 2009, Delphi
2007, Delphi 2006, Delphi 2005, Delphi 7, Delphi 6, Delphi 5, Delphi
4, C++Builder 10.3 Rio (Win32 & Win64), C++Builder 10.2 Tokyo
(Win32 & Win64), C++Builder 10.1 Berlin (Win32 & Win64),
C++Builder 10 Seattle (Win32 & Win64), C++Builder XE8 (Win32
& Win64), C++Builder XE7, C++Builder XE6, C++Builder XE5, C++Builder
XE4, C++Builder XE3, C++Builder XE2, C++Builder XE, C++Builder 2010,
C++Builder 2009, Turbo Delphi
- The Delphi 2006 version is fully compatible with Turbo Delphi
If you have a previous
version of the component installed, you must remove it completely
before installing this version. To remove a previous installation,
proceed as follows:
-Start the IDE, open the packages page by selecting
Component - Install Packages
-Select ZylBatteryPack package in the list and click the Remove
-Open Tools - Environment Options - Library and remove the library
path pointing to ZylBattery folder
-Close the IDE
-Browse to the folder where your bpl and dcp files are located (default
is $(DELPHI)\Projects\Bpl for Delphi).
-Delete all of the files related to ZylBattery
-Delete or rename the top folder where ZylBattery is installed
-Start regedit (click Start - Run, type "regedit.exe"
and hit Enter). Open the key HKEY_CURRENT_USER\Software\Borland\<compiler>\<version>\Palette
and delete all name/value items in the list related to ZylBattery.
(<compiler> is either "Delphi" or "C++Builder",
<version> is the IDE version you have installed)
the zip file and open the ZylBatteryPack.dpk file in Delphi (ZylBatteryPack.bpk
or ZylBatteryPack.cbproj file in C++Builder), compile and install
it and add to Tools/Environment Options/Library (in older Delphi
menu) or Tools/Options/Delphi Options/Library/Library Path (in newer
Delhi menu) the path of the installation (where the ZylBattery.dcu
file is located) or Tools/Options/C++ Options/Paths and Directories/Library
Path (in newer C++Builder menu, in C++Builder 10 or later, set them
also for the classic compiler) the path of the installation (where
the ZylBattery.dcu or ZylBattery.dcuil file is located). The component
will be added to the "Zyl Soft" tab of the component palette.
After you have the component on your component palette, you can
drag and drop it to any form, where you can set its properties by
the Object Inspector and you can write event handlers selecting
the Events tab of the Object Inspector and double clicking the preferred
is indicated to use this component with "Stop on Delphi exception"
option deactivated. You can do this from Delphi / C++Builder menu,
Tools/Debugger Options/Language Exceptions/Stop on Delphi exceptions
in older versions or Tools/Options/Debugger Options/Embarcadero
Debuggers/Language Exceptions/Notify on language exceptions in newer
versions, otherwise you will have a break at all the handled exceptions.,
otherwise you will have a break at all the handled exceptions.
64-bit support is only for runtime, so you have to use it in the
Install the 32-bit version of the component as it described
above and add to Tools/Options/Delphi Options/Library/Library Path,
selected platform: 64-bit Windows the path of the Win64 subfolder
of the component.
Before compiling the host application for 64-bit Windows, right
click on Target Platforms, Add Platform and add 64-bit Windows (Make
the selected platform active). If you compile the application in
this way, it will be a native 64-bit application.
If you can't open the help file:
-right-click on the help.chm file to get the properties
-on the bottom it says: “This file came form another computer....”
-push “Unblock” next to this text
-now the help.chm files opens as all other help files
ZylBattery - Delphi Component
Developer License with Source Code
support by e-mail
upgrade on request
- Sales tax/VAT is not included in the prices above and it differs
from country to country.
- All of our products are delivered via ESD (Electronic Software
Delivery) only. After purchase you will receive the full version
All orders are final, so please assure that you buy what you
need, checking the fully functional trial version first!