获取电量百分比值
<ul>
<li>获取电量百分比值
<code>CL:SetMainPropertyPanelVisible()</code></li>
</ul>
<table>
<thead>
<tr>
<th style="text-align: left;">字段</th>
<th style="text-align: left;">类型</th>
<th style="text-align: left;">空</th>
<th>描述</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">return</td>
<td style="text-align: left;">int</td>
<td style="text-align: left;">否</td>
<td>电量百分比值</td>
</tr>
</tbody>
</table>
<pre><code class="language-lua">--使用示例
CL:GetBatteryPercent()
</code></pre>