Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

VitaBatteryAlarm: Difference between revisions

From GameBrew
No edit summary
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#seo:
{{#seo:
|title=Vita Homebrew Apps (Other Apps) - GameBrew!
|title=Vita Homebrew Apps (Other Apps) - GameBrew
|title_mode=append
|title_mode=append
|image=vitabatteryalarmvita.jpg
|image=vitabatteryalarm2.png
|image_alt=VitaBatteryAlarm
|image_alt=VitaBatteryAlarm
}}
}}
{{Infobox Vita Homebrews
{{Infobox Vita Homebrews
|title=VitaBatteryAlarm
|title=VitaBatteryAlarm
|image=vitabatteryalarmvita.jpg
|image=vitabatteryalarm2.png
|description=Wakes PSVita on a set battery percentage.
|description=Wakes PS Vita on a set battery percentage.
|author=CallmeBK
|author=CallmeBK
|lastupdated=2021/06/26
|lastupdated=2021/06/27
|type=Other Apps
|type=Other Apps
|version=1.0
|version=1.0
|license=MIT
|license=MIT
|download=https://dlhb.gamebrew.org/vitahomebrews/vitabatteryalarmvita.7z
|download=https://dlhb.gamebrew.org/vitahomebrews/vitabatteryalarmvita.7z
|website=
|website=https://github.com/CallmeBK/VitaBatteryAlarm
|source=https://github.com/CallmeBK/VitaBatteryAlarm
|source=https://github.com/CallmeBK/VitaBatteryAlarm
}}
}}
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.


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.


== Why did I make this? ==
==Installation==
I want my battery to last for as many years as possible, so I always try to keep the PS Vita battery charge between 20% and 90% to minimize battery stress. Sometimes I forget that I left my PS Vita on the charger and it ends up charging overnight. When I do not forget, I am constantly waking the vita from sleep mode to check the battery percentage. This app was my solution to those 2 inconveniences.
Download latest release of BatteryAlarm.zip.


== What you can customize ==
Transfer BatteryAlarm.vpk to your PS Vita
# 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 (can 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 (can be changed after calibration in ux0:app/BALM00001/hibernatechargerate.txt. Percentage values can be from 0 to 100.)


== Installation Instruction ==
Open BatteryAlarm.vpk on your PS Vita to install it.
# Download latest release of BatteryAlarm.zip
# Transfer BatteryAlarm.vpk to your PS Vita
# Open BatteryAlarm.vpk on your PS Vita to install it


==How to Use ==
==User guide==
Open the app and follow the on-screen prompts.
===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.


'''FIRST TIME USE'''<br />
The vita battery percentage at which to trigger the alarm:
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.
*It can be changed after calibration in ux0:app/BALM00001/hibernatechargerate.txt.  
*Percentage values can be from 0 to 100.


'''AFTER CALIBRATION'''<br />
===How to Use===
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 &quot;What you can customize&quot; section above to change the settings to your preference.
Open the app and follow the on-screen prompts.


'''----WARNING----'''<br />
First time use:
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.
*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.


==Media==
After calibration:
<youtube>1s3CxQ9VDmg</youtube>
*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.


==Screenshots==
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.
[[image:vitabatteryalarmvita.jpg]]


== Remarks ==
===Remarks===
I still use the same battery and charger that came with my PS Vita. My battery state of health is currently 90%. You can use the VITAident app by joel16 to check your battery state of health and compare it to mine.
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 my tests, the battery percentage of my 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.
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 than mine, 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 than mine, your PS Vita might wake up at a percentage just below what you have set in the 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.
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.


Let me know the results you have with the accuracy of this app and tell me the battery, its state of health, and the charging cable you are using. This could help me improve accuracy in future releases.
==Screenshots==
https://dlhb.gamebrew.org/vitahomebrews/vitabatteryalarm3.png


==Changelog==
https://dlhb.gamebrew.org/vitahomebrews/vitabatteryalarm4.png
'''(v.1.0)'''
* First Release.


== Credits ==
==Media==
CelesteBlue<br />
'''How to download ps vita battery alarm app !''' ([https://www.youtube.com/watch?v=1s3CxQ9VDmg MISHAL MBS]) <br>
*For idea to wake from sleep using timer function<br />
<youtube>1s3CxQ9VDmg</youtube>
*For information on vita sleep states
 
Bythos<br />
*For informing me that Wake-Up-Club uses sceTriggerUtil to trigger the alarm
 
SparklingPhoenix<br />
*For pointing out that the vita sdk samples are all installed as apps
 
SonicMastr<br />
*For confirming that apps need a main function instead of module_start and module_stop
 
Graphene<br />
*For giving me information on the prerequisites for using sceTriggerUtil


joel16<br />
==Credits==
*For his VITAident app. I used this a lot for testing my own battery.
*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 ==
==External links==
* Github - https://github.com/CallmeBK/VitaBatteryAlarm
* GitHub - https://github.com/CallmeBK/VitaBatteryAlarm
* VitaDB - https://vitadb.rinnegatamante.it/#/info/701
* VitaDB - https://vitadb.rinnegatamante.it/#/info/701

Latest revision as of 01:21, 14 December 2022

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: