English instructions;
Function: BatPlug is a skinnable/personalisable plugin which shows a battery power meter on the Homescreen, the percentage of charge remaining, and an estimate of how long the battery will last.
Installation
1) Select the correct version of the plugin for your mobile (ie. Smartphone 2002 or Windows Mobile 2003)
2) For Smartphone 2002, copy and paste the CAB file into your phone in the IPSM/Application Data/Windows/Start Menu folder. For Smartphone 2002, copy and paste the CAB file into your phone in the IPSM/Application Data/Windows/Start Menu folder
3) Run the CAB file from the start menu.
4) Select the “BatPlug” Homescreen (in the Settings/Homescreen menu) to see an example of the plugin in use.
XML :
<PLUGIN CLSID="{13091997-1512-2103-3005-197719802002}" name="Batterie Usage" bgimage="StorageApplication DataHomebackground.jpg" height="40" refresh="60" x="0" y="0" marge_left="4" marge_right="3">
- name : Plugin name (unnecessary since version 0.2)
- bgimage : Jpg displayed on the screen behind the plugin
- height : height of plugin (in pixels)
- titre : Title (unnecessary since version 0.2)
- refresh : Frequency plugin is refreshed in seconds (beware- a refresh time too short will use up the battery!)
- marge_left : Left margin (This is the space between the left hand edge of the screen and the left side of the power meter.)
- marge_right : Right margin (This is the space between the right hand edge of the screen and the right side of the power meter.)
=> Skin Parameters: These determine the appearance of the battery level bar.
<skin selected="StorageApplication DataHomeskin.bmp" unselected="StorageApplication DataHomeskin.bmp"/>
- x & y – positioning coordinates
- selected : BMP skin when selected
- unselected : BMP skin when unselected
The skin BMP is split in half by the plugin- the top half shows the fully empty state, and the bottom half shows the full state. The plugin then shows a combination of the two halves, depending on how much charge is in the battery.
=> Charging State Parameters
<state selected="StorageApplication DataHomecharge.bmp" unselected="StorageApplication DataHomecharge.bmp"/>
- x & y – positioning coordinates
- selected : BMP skin when selected
- unselected : BMP skin when unselected
The charge BMP is split in half by the plugin- the top half is shown in the “normal” state, and the bottom half is shown when the phone is connected to the charger.
= > Time Remaining parameters
<time x="5" y="22" format="JHM" font-size="14" font-weight="normal"/>
- x & y – positioning coordinates
- format: Time format (“dhm”, “DHM”, “D H M” etc.)
- font-size: Size of text
-font-weight: Normal or Bold
= > Percentage Remaining parameters
<percent x="100" y="22" font-size="14" font-weight="bold"/>
- x & y – positioning coordinates
- font-size: Size of text
-font-weight: Normal or Bold