Versions in this module Expand all Collapse all v1 v1.0.1 Aug 6, 2026 v1.0.0 Aug 6, 2026 Changes in this version + const ConversionLoss + const IATACabinLimitWh + const NominalCellVolts + var Earbuds = Device + var Phone = Device + var Tablet = Device + func CabinLegal(ratedMAh float64) bool + func DailyDemandMAh(devices []Device) float64 + func RequiredRatedMAh(devices []Device, days float64) float64 + func WattHours(ratedMAh float64) float64 + type Device struct + BatteryMAh float64 + ChargesPerDay float64 + Name string + type Recommendation struct + CabinLegal bool + Note string + RatedMAh float64 + WattHours float64 + func Recommend(devices []Device, days float64) Recommendation