summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJoel162017-05-10 22:46:38 -0800
committerSunguk Lee2017-05-11 15:46:38 +0900
commit102096f49aa35c7c3c9889f6e9e1febe33040286 (patch)
tree7c1c3bd42e049a4380782a085cba194faa991ff1 /include
parentMerge pull request #167 from vitasdk/usbd-patch-1 (diff)
downloadvds-libraries-102096f49aa35c7c3c9889f6e9e1febe33040286.tar.gz
Fixed a couple function descriptions and added a few missing functions in ScePower (#168)
* Include a few missing scePower functions * Fixed function descriptions * Fixed voltage units in function description
Diffstat (limited to '')
-rw-r--r--include/user/power.h36
1 files changed, 32 insertions, 4 deletions
diff --git a/include/user/power.h b/include/user/power.h
index 8eadf1a..a3426e4 100644
--- a/include/user/power.h
+++ b/include/user/power.h
@@ -78,9 +78,9 @@ SceBool scePowerIsPowerOnline(void);
int scePowerGetBatteryLifeTime(void);
/**
- * Returns battery remaining capacity ?
+ * Returns battery remaining capacity
*
- * @return ?
+ * @return battery remaining capacity in mAh (milliampere hour)
*/
int scePowerGetBatteryRemainCapacity(void);
@@ -92,13 +92,41 @@ int scePowerGetBatteryRemainCapacity(void);
SceBool scePowerIsLowBattery(void);
/**
- * Returns battery full capacity ?
+ * Returns battery full capacity
*
- * @return ?
+ * @return battery full capacity in mAh (milliampere hour)
*/
int scePowerGetBatteryFullCapacity(void);
/**
+ * Returns battery temperature
+ *
+ * @return temperature in degrees celcius * 100
+ */
+int scePowerGetBatteryTemp(void);
+
+/**
+ * Returns battery voltage
+ *
+ * @return battery voltage in mV (millivolts)
+ */
+int scePowerGetBatteryVolt(void);
+
+/**
+ * Returns battery state of health
+ *
+ * @return battery state of health percent
+ */
+int scePowerGetBatterySOH(void);
+
+/**
+ * Returns battery cycle count
+ *
+ * @return battery cycle count
+ */
+int scePowerGetBatteryCycleCount(void);
+
+/**
* Returns CPU clock frequency
*
* @return CPU clock frequency in Mhz