Skip to content

Commit 031b3b8

Browse files
authored
Update main.c
1 parent 6bbebaf commit 031b3b8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ static uint16_t **some_strdup_patched(uint16_t **a1, uint16_t *a2, int a2_size)
131131
if (in_draw_time) {
132132
static int oldpercent = 0;
133133
int percent = scePowerGetBatteryLifePercent();
134-
percent = scaleValue(percent, 0, 83, 0, 100); //Scale the IRS-1001 motherboard battery readout to 100%
134+
percent = scaleValue(percent, 13, 100, 1, 100); //Scale the percentage considering the vita turns off at ≈12/13%
135135
if (percent < 0 || percent > (100)) {
136136
percent = oldpercent;
137137
}

0 commit comments

Comments
 (0)