Home
last modified time | relevance | path

Searched refs:battery (Results 1 – 17 of 17) sorted by relevance

/AliOS-Things-master/components/SDL2/src/power/android/
A DSDL_syspower.c34 int battery; in SDL_GetPowerInfo_Android() local
38 if (Android_JNI_GetPowerInfo(&plugged, &charged, &battery, seconds, percent) != -1) { in SDL_GetPowerInfo_Android()
42 } else if (battery) { in SDL_GetPowerInfo_Android()
/AliOS-Things-master/components/SDL2/src/power/uikit/
A DSDL_syspower.m34 /* turn off the battery monitor if it's been more than X ms since last check. */
74 /* UIKit_GL_SwapWindow() (etc) will check this and disable the battery
76 * Apparently monitoring the battery burns battery life. :)
77 * Apple's docs say not to monitor the battery unless you need it.
/AliOS-Things-master/components/SDL2/src/power/psp/
A DSDL_syspower.c35 int battery = scePowerIsBatteryExist(); in SDL_GetPowerInfo_PSP() local
43 if (!battery) { in SDL_GetPowerInfo_PSP()
/AliOS-Things-master/hardware/chip/haas1000/drivers/apps/
A DMakefile2 obj-y := audioplayers/ common/ main/ key/ pwl/ battery/ factory/ cmd/ mic/
60 src_obj := audioplayers/ common/ main/ key/ pwl/ battery/ factory/ cmd/ mic/
131 -Iapps/battery \
/AliOS-Things-master/components/SDL2/src/joystick/windows/
A DSDL_windows_gaming_input.c39 __x_ABI_CWindows_CGaming_CInput_CIGameControllerBatteryInfo *battery; member
499 …ler_QueryInterface(hwdata->controller, &IID_IGameControllerBatteryInfo, (void **)&hwdata->battery); in WGI_JoystickOpen()
515 if (wireless && hwdata->battery) { in WGI_JoystickOpen()
519 …_CWindows_CGaming_CInput_CIGameControllerBatteryInfo_TryGetBatteryReport(hwdata->battery, &report); in WGI_JoystickOpen()
649 if (hwdata->battery) { in WGI_JoystickClose()
650 __x_ABI_CWindows_CGaming_CInput_CIGameControllerBatteryInfo_Release(hwdata->battery); in WGI_JoystickClose()
/AliOS-Things-master/components/ble_host/bt_host/include/bluetooth/
A Dhfp_hf.h122 void (*battery)(struct bt_conn *conn, bt_u32_t value); member
/AliOS-Things-master/hardware/chip/haas1000/drivers/apps/factory/
A DMakefile25 -Iapps/battery \
/AliOS-Things-master/components/SDL2/src/core/android/
A DSDL_android.h86 int Android_JNI_GetPowerInfo(int* plugged, int* charged, int* battery, int* seconds, int* percent);
A DSDL_android.c2302 int Android_JNI_GetPowerInfo(int *plugged, int *charged, int *battery, int *seconds, int *percent) in Android_JNI_GetPowerInfo() argument
2382 if (battery) { in Android_JNI_GetPowerInfo()
2384 *battery = present ? 1 : 0; in Android_JNI_GetPowerInfo()
/AliOS-Things-master/hardware/chip/haas1000/drivers/apps/mic/
A DMakefile49 -Iapps/battery \
/AliOS-Things-master/components/amp/libjs/
A Dgenerator.js41 battery: 'JSE_CORE_ADDON_BATTERY', property in macro4libjs
/AliOS-Things-master/components/ble_host/bt_host/host/
A Dhfp_hf.c275 if (bt_hf->battery) { in ag_indicator_handle_values()
276 bt_hf->battery(conn, value); in ag_indicator_handle_values()
/AliOS-Things-master/hardware/chip/haas1000/drivers/services/interconnection/
A DMakefile101 -Iapps/battery \
/AliOS-Things-master/components/SDL2/src/video/uikit/
A DSDL_uikitopengles.m122 /* Check once a frame to see if we should turn off the battery monitor. */
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/experimental/acceleration/configuration/
A Dconfiguration.proto64 // Prefer executing in a way that minimizes battery drain.
/AliOS-Things-master/components/SDL2/docs/
A DREADME-android.md198 returns to the main Android dashboard). Blocking is better in terms of battery
/AliOS-Things-master/components/SDL2/src/hidapi/ios/
A Dhid.m342 …// scanning because it drains battery, causes other nearby people to have a hard time pairing their

Completed in 43 milliseconds