84PCE:Syscalls:0003B0

From WikiTI
Revision as of 22:19, 7 September 2015 by MateoConLechuga (Talk | contribs)

Jump to: navigation, search

Synopsis

Hypothesized Official Name: GetBatteryPercent

C Function Address: 0003B0h

Gets the status of the battery percentage. There are five possible values:

> 75%       ; returns 4 
50%-75%     ; returns 3
25%-50%     ; returns 2
5%-25%      ; returns 1
< 5%        ; returns 0

Function Prototype

uint8 GetBatteryPercent(void);

Arguments

  • None (void)

Returns

  • The battery voltage percentage.