Stay organized with collections
Save and categorize content based on your preferences.
Paddleboat_Controller_Battery
#include <paddleboat.h>
A structure that describes the current battery state of a controller.
Summary
This structure will only be populated if a controller has PADDLEBOAT_CONTROLLER_FLAG_BATTERY
set in Paddleboat_Controller_Info.controllerFlags
Public attributes
batteryLevel
float Paddleboat_Controller_Battery::batteryLevel
The current status of the battery.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2023-03-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-03-10 UTC."],[],[],null,["# Paddleboat_Controller_Battery Struct Reference\n\nPaddleboat_Controller_Battery\n=============================\n\n`#include \u003cpaddleboat.h\u003e`\n\nA structure that describes the current battery state of a controller.\n\nSummary\n-------\n\nThis structure will only be populated if a controller has `PADDLEBOAT_CONTROLLER_FLAG_BATTERY` set in [Paddleboat_Controller_Info.controllerFlags](/reference/games/game-controller/struct/paddleboat-controller-info#struct_paddleboat___controller___info_1aee089451d9723e2b9a395c368a65ab08)\n\n| ### Public attributes ||\n|-----------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------|\n| [batteryLevel](#struct_paddleboat___controller___battery_1a677eed8c4b48ce72293dfaa82e5bad74) | `float` The current status of the battery. |\n| [batteryStatus](#struct_paddleboat___controller___battery_1adf557025c21de985481c5111c9b89e37) | [Paddleboat_BatteryStatus](/reference/games/game-controller/group/paddleboat#group__paddleboat_1ga48fec244cdb5a11219a6bf1e5a9ad8ee) |\n\nPublic attributes\n-----------------\n\n### batteryLevel\n\n```scdoc\nfloat Paddleboat_Controller_Battery::batteryLevel\n``` \nThe current status of the battery. \n\n### batteryStatus\n\n```scdoc\nPaddleboat_BatteryStatus Paddleboat_Controller_Battery::batteryStatus\n```"]]