I'm not sure what you meant by your first sentence. There are words missing. But any energy conversion will have efficiency losses. That includes for lithium batteries too.
Hydrogen should be used for portable energy, like you said. Are electric cars also not considered green unless they are charged with non-fossil fuel sources? I think everyone understands that they enable us to use other energy sources but they don't in and of themselves reduce dependence.