Remaining Battery Capacity Displays Negative Moving Averages for Smart Battery Readings
Summary
Related SOTI ONE Platform Products
Issue Description
Previous versions of the SOTI XSight 2024.0.1.3 XT Socket for Zebra smart batteries for Power Precision provide values that impact the smart battery dashboard and the battery spotlight. The Remaining Battery Capacity will consistently appear in a negative format when calculating its moving average. This is due to the current capacity values being unavailable, how it reports data to the XT Socket, and how it is displayed to the dashboard.
Environment
SOTI XSight - Zebra Smart Battery APK
Cause
The following three values are not present in Power Precision batteries. The absence of these values impacts the prediction of remaining battery capacity.
- Health percentage
- Current capacity
- Current charge
Issue Resolution
- The patch introduces an algorithm which provides the current capacity. The current capacity value is then used to calculate the health and its current charge.
- Current Charge = current capacity * battery level (Android api) / 100
- Health = current capacity / rated capacity (Zebra api) * 100
- SQL and Stored Procedure:
- Eliminates invalid values from the moving average in the current capacity calculation for the last 30 days.
Installation:
- Obtain the following two SQL scripts by contacting customer support:
-
- batch_SmartBatteryData.sql: Run on Cook Database.
- sbs_GetPageSpotlight.sql: Run on DW Database.
- Post SOTI XSight 2024.0.1 migration or install, execute the above SQL files.
XT Socket Link:
https://downloads.soti.net/SOTIXsight/Sockets/Zebra/zebra-socket-2024.0.1.3.apk
Additional Information
Verification and Validation:
- The devices need a full +100% charge cycle and full -100% discharge cycle for the XT Socket to calculate the remaining capacity.
- Ensure the Battery Optimization setting is disabled on devices.
Note:
It is important to note that the improvements and fixes in this patch are already integrated into the upcoming SOTI XSight 2024.0.2 release.
Was this helpful?
Thanks for your feedback