Skip to content
  • Benjamin Berg's avatar
    supply: Use percentage to guess empty STATE · ce247871
    Benjamin Berg authored
    Using energy is broken as the value might be zero if it is not provided.
    However, either energy or percentage ("capacity") should have been read
    from the sysfs. And, in both cases the percentage should reflect
    something reasonable.
    
    Related: #146
    ce247871