[JAMin, XDA Neo, S200 General] ikarus:
i had some time and implemented the most important components for customization and uploaded build 0174 (testing).

If you want to try it, then be aware it's again

just a quick implementation

.

Prepare the sd-card for stopping batterystatus..

You can customize the readings by means of an xml-file:

1. Copy "Windows\BatteryStatus\default.xml" to the desktop and rename it to e.g. custom.xml

2. open custom.xml e.g. with Notepad

3. modify the content

4. validate against the schema ( http://www.chi-tai.info/BatteryStatus ) e.g. online with http://www.w3.org/2001/03/webdata/xsv

5. copy custom.xml back to "Windows\BatteryStatus\custom.xml"

6. select the new file in "Tools"-Tab (Options)

If custom.xml is not

well-formed

or

valid against the schema

, then the inbuild default will be used !!!

You can define:

- A BatteryStatus-Window contains 1..x Rows

- each Row contains 1..x Views

- each View contains 1..x Items

- each Item contains 0..1 image and/or 0..1 label

- an Item must contain 1 class, which refers to the reading-content

- an image can have a path to an bitmap, so you can build your own vga-theme

.. there are much more things you can define and the best is to have a look at the attached sample.txt (xml). Don't use the sample.xml !! It's only for demonstration.

Of course customization by options would be more easy, but checkboxes in options can't give you what an xml-file can do..

Any feedback would be fine :D

default.xml

<?xml version="1.0"?>
<Window xmlns="http://www.chi-tai.info/BatteryStatus" imagesrc="default">
<!-- Row 1 ====================================================================== -->
<Row>
<!-- default view 1 ====================================================================== -->
<View>
<!-- left icon box -->
<Item class="battery_ac_icons" />

<!-- first content box / start at 28 -->
<Item class="battery_meter" />

<!-- second content box -->
<!-- <hbox class="mobile_operator" > -->
<Item class="mobile_operator_homezone" />

<!-- third content box -->
<Item class="cpuspeed" />
</View>
</Row>

<!-- Row2 ====================================================================== -->
<Row>
<!-- default view 1 ====================================================================== -->
<View>
<Item class="calltimes_out_sms" />
</View>
<!-- View 2 ====================================================================== -->
<View>
<Item class="calltimes_in_sms" />
</View>
<!-- View 3 ====================================================================== -->
<View>
<Item class="calltimes_inout_sms" />
</View>
</Row>

<!-- Row 3 ====================================================================== -->
<Row>
<!-- default View 1 ====================================================================== -->
<View>
<!-- first content box / start at 28 -->
<Item class="cpu_utilization" />

<!-- second content box -->
<Item class="memory_program" />

<!-- third content box -->
<Item class="temperature" />

<!-- fourth content box -->
<Item class="powerdrain" />
</View>

<!-- View 2 ====================================================================== -->
<View height="16" >
<!-- first content box / start at 28 -->
<Item class="phone_signal" />

<!-- second content box -->
<Item class="memory_data" />

<!-- third content box -->
<Item class="memory_sdcard" />

<!-- fourth content box -->
<Item class="powerdrain" />
</View>
</Row>

<!-- Row 4 ====================================================================== -->
<Row>
<!-- default View 1 ====================================================================== -->
<View>
<Item class="wifi_state" />
</View>
</Row>

<!-- Row 5 ====================================================================== -->
<Row>
<!-- default View 1 ====================================================================== -->
<View height="70" >
<Item class="wifi_networks" >
<label valign="top" format="wordbreak" />
</Item>
</View>
</Row>
</Window>

sample.xml

<?xml version="1.0"?>
<Window xmlns="http://www.chi-tai.info/BatteryStatus" imagesrc="default">
<!-- Row 0 ====================================================================== -->
<Row>
<!-- default view 0 ====================================================================== -->
<View height="16" >
<!-- left icon box -->
<Item type="lefticon" class="battery_ac_icons" >
<image src="Icon_AC.bmp" width="13" height="12" left="4" top="1" transparent="326496" vga="0" />
<image src="Icon_Battery.bmp" width="10" height="12" left="5" top="3" transparent="326496" vga="0" />
</Item>

<!-- first content box / start at 28 -->
<Item type="iconbattery" class="battery_meter" >
<image src="Battery_BG.bmp" width="33" height="9" left="0" top="4" transparent="ffffff" vga="0" />
<label align="left" left="5" top="0" width="35" />
</Item>

<!-- second content box -->
<Item type="iconvalue" class="mobile_operator_homezone" >
<image src="HomeIcon.bmp" width="10" height="9" left="0" top="3" transparent="020202" vga="0" />
<label align="left" left="4" top="0" width="66" />
</Item>

<!-- third content box -->
<Item type="value" class="cpuspeed" >
<label align="right" left="0" top="0" />
</Item>
</View>
</Row>

<!-- Row 1 ====================================================================== -->
<Row>
<!-- default view 0 ====================================================================== -->
<View height="32" >
<Item type="lefticonvalue" class="mobile_operator" >
<image src="HomeIcon.bmp" transparent="020202" vga="0" />
<label align="left" left="0" top="0" width="66" />
</Item>
</View>
</Row>

<!-- Row 1 ====================================================================== -->
<Row>
<!-- default view 0 ====================================================================== -->
<View height="32" >
<Item type="lefticonvalue" class="calltimes_out_sms" >
<image src="Calls_Out.bmp" />
</Item>
</View>
<!-- View 1 ====================================================================== -->
<View height="16" >
<Item type="lefticonvalue" class="calltimes_in_sms" >
<image src="Calls_In.bmp" vga="0" />
</Item>
</View>
<!-- View 2 ====================================================================== -->
<View height="65" >
<Item type="lefticonvalue" class="calltimes_inout_sms" >
<image src="Calls_InOut.bmp" vga="0" />
</Item>
</View>
</Row>

<Row>
<View height="33" >
<Item class="calltimes_out" />
<Item class="sms_out" >
<label align="right" />
</Item>
</View>

<View height="36" >
<Item class="calltimes_in" />
<Item class="sms_in" >
<label align="right" />
</Item>
</View>

<View height="14" >
<Item class="calltimes_inout" />
<Item class="sms_inout" >
<label align="right" />
</Item>
</View>
</Row>

<Row>
<View height="26" >
<Item type="iconcpuutil" class="cpu_utilization" >
<image src="cpu.bmp" width="10" height="12" left="0" top="2" transparent="010101" vga="0" />
<label align="left" left="4" top="0" width="34" />
</Item>

<Item type="iconvalue" class="memory_program" >
<image src="MemProg.bmp" width="12" height="10" left="2" top="3" transparent="ffffff" vga="0" />
<label align="left" left="5" top="0" width="39" />
</Item>

<Item type="iconvalue" class="temperature" >
<image src="temperature.bmp" left="1" top="3" transparent="ffffff" vga="0" />
<label align="left" left="5" width="37" />
</Item>

<Item type="value" class="powerdrain" >
<label align="right" top="0" />
</Item>
</View>

<View>
<Item type="iconvalue" class="phone_signal" >
<image src="phone_signal.bmp" left="0" top="2" transparent="ffffff" vga="0" />
<label align="left" left="3" top="0" width="34" />
</Item>

<Item type="iconvalue" class="memory_data" >
<image src="MemData.bmp" left="2" top="3" transparent="ffffff" vga="0" />
<label align="left" left="5" top="0" width="39" />
</Item>

<Item type="iconvalue" class="memory_sdcard" >
<image src="sdcard.bmp" left="2" top="3" transparent="ffffff" vga="0" />
<label align="left" left="5" width="37" />
</Item>

<Item type="value" class="powerdrain" >
<label align="right" top="0" />
</Item>
</View>
</Row>
</Window>