LCOV - code coverage report
Current view: top level - AP_BattMonitor - AP_BattMonitor_EFI.h (source / functions) Hit Total Coverage
Test: lcov.info Lines: 0 4 0.0 %
Date: 2026-09-09 11:02:08 Functions: 0 2 0.0 %

          Line data    Source code
       1             : #pragma once
       2             : 
       3             : #include "AP_BattMonitor_Backend.h"
       4             : 
       5             : #if AP_BATTERY_EFI_ENABLED
       6             : 
       7             : class AP_BattMonitor_EFI : public AP_BattMonitor_Backend
       8             : {
       9             : public:
      10             : 
      11             :     // Inherit constructor
      12             :     using AP_BattMonitor_Backend::AP_BattMonitor_Backend;
      13             : 
      14             :     // update state
      15             :     void read(void) override;
      16             : 
      17           0 :     bool has_current(void) const override {
      18           0 :         return true;
      19             :     }
      20             : 
      21           0 :     bool has_consumed_energy(void) const override {
      22           0 :         return true;
      23             :     }
      24             : };
      25             : #endif // AP_BATTERY_EFI_ENABLED

Generated by: LCOV version 1.14