VitaBatteryAlarm

From GameBrew
VitaBatteryAlarm
Vitabatteryalarm2.png
General
AuthorCallmeBK
TypeOther Apps
Version1.0
LicenseMIT License
Last Updated2021/06/27
Links
Download
Website
Source

VitaBatteryAlarm is an application that wakes PS Vita from sleep mode and plays a WAV file when the PS Vita has reached a certain battery percentage specified by the user.

The tool was created to be used as a reminder to prevent the PS Vita battery from overcharging.

Installation

Download latest release of BatteryAlarm.zip.

Transfer BatteryAlarm.vpk to your PS Vita

Open BatteryAlarm.vpk on your PS Vita to install it.

User guide

What you can customize

The alarm sound:

  • WAV file max length 8 seconds.
  • Anything shorter will play on repeat for 8 seconds or until user closes the alarm dialog.
  • WAV file must be "alarm.wav" and must be placed in "ux0:app/BALM00001" location.

The alarm volume:

  • It be changed after calibration in ux0:app/BALM00001/hibernatechargerate.txt.
  • Volume values can be from 0 to 30.

The vita battery percentage at which to trigger the alarm:

  • It can be changed after calibration in ux0:app/BALM00001/hibernatechargerate.txt.
  • Percentage values can be from 0 to 100.

How to Use

Open the app and follow the on-screen prompts.

First time use:

  • The first time you open the app, the app will need to run a 3-minute calibration test in order to know how fast your PS Vita will charge while it is in sleep mode.
  • The app will not let you calibrate unless your PS Vita is at or below 60% charge. This is to allow for an accurate calibration.

After calibration:

  • Open the app, then plug in the charger. When the alarm goes off, you will see a dialog box that states that charging is complete.
  • After you press the OK button, the alarm will cease and you may close the Battery Alarm app.
  • Refer to the "What you can customize" section above to change the settings to your preference.

Warning - Waking up the PS Vita and swiping the lockscreen before the alarm goes off will delete the alarm and you will have to reopen the app to set the alarm again.

Remarks

At the time writing, the author's PS Vita battery state of health is at 90%. You can use the VITAident app by joel16 to check your battery state of health and use it as a comparison.

During the tests, the battery percentage of the PS Vita when the alarm went off was always within 1% of the vita battery percentage value set in the ux0:app/BALM00001/hibernatechargerate.txt file.

If your battery state of health is better, your PS Vita might wake up at a percentage just above what you have set in the hibernatechargerate.txt file. If your battery state of health is worse, your PS Vita might wake up at a percentage just below what you have set in the hibernatechargerate.txt file.

Most likely, the accuracy will still be within 2% of your desired wakeup percentage. At the very least it should be consistent, so you can compensate by adjusting the alarmChargeValue in the hibernatechargerate.txt file to improve accuracy for your device.

Screenshots

vitabatteryalarm3.png

vitabatteryalarm4.png

Media

How to download ps vita battery alarm app ! (MISHAL MBS)

Credits

  • CelesteBlue - For idea to wake from sleep using timer function and information on vita sleep states.
  • Bythos - For informing me that Wake-Up-Club uses sceTriggerUtil to trigger the alarm.
  • SparklingPhoenix - For pointing out that the vita sdk samples are all installed as apps.
  • SonicMastr - For confirming that apps need a main function instead of module_start and module_stop.
  • Graphene - For giving me information on the prerequisites for using sceTriggerUtil.
  • joel16 - For his VITAident app. I used this a lot for testing my own battery.

External links

Advertising: