mirror of
https://github.com/rvtr/ctr_Repair.git
synced 2025-10-31 13:51:08 -04:00
バッテリ残量を取得するように
git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-05-23%20-%20ctr.7z%20+%20svn_v1.068.zip/ctr/svn/ctr_Repair@266 385bec56-5757-e545-9c3a-d8741f4650f1
This commit is contained in:
parent
7b373fe5ee
commit
b6147c5266
@ -212,6 +212,7 @@ bool Util::IsAdapterConnected()
|
||||
|
||||
bool Util::IsBatteryLower()
|
||||
{
|
||||
m_BatteryRemain = GetBatteryRemain();
|
||||
return m_BatteryRemain <= 10;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user