Results 1 to 1 of 1

Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.


Thread: Battery Control Themeing

  1. #1
    Default Battery Control Themeing
    With the release of Battery Control 1.0.0, there is a premium feature that allows themeing of the percentage in the status bar either through the settings application (limited to color and font size there) or full-fledged CSS in a WinterBoard theme. There are three different themes supported: Default, Charging and Low Battery. To theme them, create a plist in your theme at:

    <theme>/Bundles/com.apple.springboard/com.ashman.BatteryControl.plist

    In the plist, you can write CSS for both the default and home screen (FSO) status bars:

    For the default theme:
    Code:
    <key>Style</key>
    <string>font-weight: bold; font-size: 16px;</string>
    <key>StyleFSO</key>
    <string>font-weight: bold; font-style: italic;</string>
    For the charging theme:
    Code:
    <key>ChargingStyle</key>
    <string>font-weight: bold; font-size: 16px;</string>
    <key>ChargingStyleFSO</key>
    <string>font-weight: bold; font-style: italic;</string>
    For the low batterytheme:
    Code:
    <key>LowBatteryStyle</key>
    <string>font-weight: bold; font-size: 16px;</string>
    <key>LowBatteryStyleFSO</key>
    <string>font-weight: bold; font-style: italic;</string>
    The default theme will always be applied, both to charging and low battery, but the charging and low battery can "cascade" over those themes to control the look for those states. FYI, the low battery and charging are mutually exclusive (only one will be in effect at a time) and charging takes precedence over low battery.

  2. The Following User Says Thank You to Stimpy5050 For This Useful Post:

    Late_Nights (2009-08-18)

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •